Difference between revisions of "Manual SMTP Relay Test"

From HyperSecurity Wiki
Jump to: navigation, search
Line 1: Line 1:
 
<pre>
 
<pre>
220 mail.example.com ESMTP Postfix
+
S: 220 mail.example.com ESMTP Postfix
'''EHLO example.com'''
+
C: EHLO example.com
250-mail.example.com
+
S: 250-mail.example.com
250-PIPELINING
+
S: 250-PIPELINING
250-SIZE 10240000
+
S: 250-SIZE 10240000
250-VRFY
+
S: 250-VRFY
250-ETRN
+
S: 250-ETRN
250-XVERP
+
S: 250-XVERP
250 8BITMIME
+
S: 250 8BITMIME
'''mail from:<user@domain.com>'''
+
C: mail from:<user@domain.com>
250 Ok
+
S: 250 Ok
'''rcpt to:<howto@domain.com>'''
+
C: rcpt to:<howto@domain.com>
250 Ok
+
S: 250 Ok
'''Text'''
+
C: data
354 End data with <CR><LF>.<CR><LF>
+
S: 354 End data with <CR><LF>.<CR><LF>
'''Testmail relaying mail from user@domain.com to howto@domain.com'''
+
C: Testmail relaying mail from user@domain.com to howto@domain.com
'''Test #3'''
+
C: Test #3
'''.'''
+
C: .
250 Ok: queued as 84BA64078A
+
S: 250 Ok: queued as 84BA64078A
'''quit'''
+
C: quit
221 Bye
+
S: 221 Bye
 
</pre>
 
</pre>
 +
 +
Legend:
 +
S: = server
 +
C: = client

Revision as of 04:06, 16 January 2007

S: 220 mail.example.com ESMTP Postfix
C: EHLO example.com
S: 250-mail.example.com
S: 250-PIPELINING
S: 250-SIZE 10240000
S: 250-VRFY
S: 250-ETRN
S: 250-XVERP
S: 250 8BITMIME
C: mail from:<user@domain.com>
S: 250 Ok
C: rcpt to:<howto@domain.com>
S: 250 Ok
C: data
S: 354 End data with <CR><LF>.<CR><LF>
C: Testmail relaying mail from user@domain.com to howto@domain.com
C: Test #3
C: .
S: 250 Ok: queued as 84BA64078A
C: quit
S: 221 Bye

Legend: S: = server C: = client