On olemas nii ja naasuguseid mailikliente. Samas kui natukenegi sefi mulje tahad jätta siis saab ka nii.
POP3
telnet pop3serve 110
USER kasutajanimi
PASS parool
list – annab INBOX sisu jknr ja maili suurus.
retr jknr annab võimaluse maili lugeda.
Saatmine. Samas hea ka open relay testimiseks.
telnet SMTP server port (harilikult 25)
EHLO hostname
(Juhul kui peab ennast tuvastama saatmiseks)
auth login
334 VXNlcm5hbWU6
base64 encoded username
334 UGFzc3dvcmQ6
base64 encoded password
235 2.7.0 Authentication successful.
(tuvastamise lõpp)
MAIL FROM: <Admin@test.com>
RCPT TO: <User@Domain.Com>
DATA
From:Admin@test.com
To:User@Domain.com
Subject: test message
This is a test message you will not see a response from this command.
.
QUIT
Et, oleks lihtsam siis võib luua faili: send_mail_session.txt
EHLO hostname
auth login
SIIN ON SINU KASUTAJANIMI BASE64 encoded
SIIN ON SINU PAROOL BASE64 encoded
MAIL FROM:
RCPT TO:
DATA
From:boss@okia.ee
To:margusja@okia.ee
Subject: Palgatous
Tere.
Hea too eest saad 1000 EURi rohkem iga kuu palka.
Sinu Helde Boss
.
Nüüd laseme selle faili nc sisendiks:
[Thu Oct 14 22:27:43 margusja@IRack cat send_mail_session.txt | nc mail.server.ee 25
* telnet Dovecot IMAP client session
<code>
23:01:34 root@/root telnet localhost 143
Trying 127.0.0.1...
Connected to localhost.example.ee (127.0.0.1).
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot DA ready.
a login user pass
a OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS] Logged in
b select INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk $NotJunk $Forwarded junkrecorded junk $Junk $MDNSent)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft NonJunk $NotJunk $Forwarded junkrecorded junk $Junk $MDNSent \*)] Flags permitted.
* 84 EXISTS
* 0 RECENT
* OK [UIDVALIDITY 1279192037] UIDs valid
* OK [UIDNEXT 16925] Predicted next UID
* OK [HIGHESTMODSEQ 42319] Highest
b OK [READ-WRITE] Select completed.
c list "" *
* LIST (\HasChildren) "." "Archives"
* LIST (\HasNoChildren) "." "Archives.2011"
* LIST (\HasChildren) "." "INBOX"
* LIST (\HasNoChildren) "." "INBOX.Drafts"
* LIST (\HasNoChildren) "." "INBOX.Sent"
* LIST (\HasNoChildren) "." "INBOX.Trash"
* LIST (\HasNoChildren) "." "INBOX.spam"
* LIST (\HasNoChildren) "." "Deleted Messages"
* LIST (\HasNoChildren) "." "Sent"
* LIST (\HasNoChildren) "." "Trash"
* LIST (\HasNoChildren) "." "Drafts"
* LIST (\HasNoChildren) "." "Sent Messages"
c OK List completed.