Sendmail i testiranje po portovima 25 i 110
Testiranje po portu 110 – POP3 – izlistavanje poruka u INBOX-u i skidanje pošte
# telnet 10.10.10.94 110
Trying 10.10.10.94…
Connected to 10.10.10.94 (10.10.10.94).
Escape character is ‘^]’.
+OK POP3 mail94.moj.domen v2003.83rh server ready
user korisnik1
+OK User name accepted, password please
pass korisnik1
+OK Mailbox open, 4 messages
list
+OK Mailbox scan listing follows
1 4851
2 4794
3 903
4 2088
.
quit
+OK Sayonara
Connection closed by foreign host.
Testiranje po portu 25 – SMTP – slanje poruka iz komandne linije, uz SASLAUTHD autentifikaciju
# telnet 10.10.10.94 25
Trying 10.10.10.94…
Connected to 10.10.10.94 (10.10.10.94).
Escape character is ‘^]’.
220 mail94.moj.domen ESMTP Sendmail 8.13.1/8.13.1; Tue, 19 Feb 2013 09:35:02 +0100
ehlo mail94.moj.domen
250-mail94.moj.domen Hello mail-2012.moj.domen [10.10.10.38], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
250-STARTTLS
250-DELIVERBY
250 HELP
auth login
334 VXNlcm5hbWU6
ZWJlbA=z
334 UGFzc3dvcmQ6
ZWJlbA=z
235 2.0.0 OK Authenticated
mail from: korisnik1@moj.domen
250 2.1.0 korisnik1@moj.domen… Sender ok
rcpt to: korisnik2@verat.net
250 2.1.5 korisnik2@verat.net… Recipient ok
data
354 Enter mail, end with “.” on a line by itself
bla bla utorak
.
250 2.0.0 r1J8Z2II007767 Message accepted for delivery
quit
221 2.0.0 mail94.moj.domen closing connection
Connection closed by foreign host.