This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

telnet: troubleshoot SMTP via telnet session

telnet? kool
Added by over 3 years ago

$ telnet mail.example.org 25
   Connected to mail.example.org.
   Escape character is '^]'.
   220-apollo.example.org ESMTP Exim x.xx #1 Thu, 20 Aug 2009 02:24:03 -0500
   220-We do not authorize the use of this system to transport unsolicited,
   220 and/or bulk e-mail.
EHLO
   250-apollo.example.org Hello [xx.xx.xx.xx]
   250-SIZE 52428800
   250-PIPELINING
   250-AUTH PLAIN LOGIN
   250-STARTTLS
   250 HELP
AUTH LOGIN
   334 VXNlcm5hbWU6
#### my email #######
   334 UGFzc3dvcmQ6
#### my password ####
   235 Authentication succeeded
HELP
   214-Commands supported:
   214 AUTH STARTTLS HELO EHLO MAIL RCPT DATA NOOP QUIT RSET HELP
MAIL FROM: [email protected]
   250 OK
RCPT TO: [email protected]
   250 Accepted
DATA
   354 Enter message, ending with "." on a line by itself
The contents of email go here.
The contents of email go here.
The contents of email go here.
The contents of email go here.
.
   250 OK id=1Me21C-0005lQ-NK
QUIT

References (http://www.exim-new-users.co.uk/content/view/131/39/)

ATRN    Authenticated TURN.         RFC 2645
AUTH    Authentication.             RFC 2554
BDAT    Binary data.                RFC 3030
DATA    Data.                       RFC 2821
EHLO    Extended Hello.             RFC 2821
ETRN                                RFC 1985
EXPN    Expand                      RFC 2821
HELO    Hello                       RFC 2821
HELP    Help                        RFC 2821
MAIL    Mail                        RFC 2821
NOOP    No operation                RFC 2821
QUIT    Quit                        RFC 2821
RCPT    Recipient                   RFC 2821
RSET    Reset                       RFC 2821
SAML    Send and mail               RFC 821
SEND    Send                        RFC 821
SOML    Send or mail                RFC 821
STARTTLS                            RFC 3207
TURN    Turn                        RFC 821
VRFY    Verify                      RFC 2821

Comments

Added by over 2 years ago

Sau lệnh EHLO, một số server yêu cầu gửi thêm lệnh HELO (rất lịch sự) để có thể tiếp tục gửi thư

HELO viettug.org
250 apollo.site5.com Hello example.net [175.xxx.xxx.xxx]