User Tools

Site Tools


hwmig2007smtp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

hwmig2007smtp [2015/06/09 15:23] (current)
Line 1: Line 1:
 +[[:TuxSoftware]]
 +
 +====== SMTP ====== 
 +===== Todo =====
 +
 +     * clear out test mail
 +
 +===== Email //to// the new tux is received and handled =====
 +
 +==== Tested by: ====
 +
 +<code>
 +add to my own /etc/hosts:
 +74.104.50.63 newtux tux
 +</code>
 +
 +<code>
 +ssh -x -p 28 -L2525:tux:25 tux
 +</code>
 +
 +<code>
 +From my machine:
 +
 +bjb@charmeleon ~ 507 $ nc localhost 2525
 +220 tux.oclug.on.ca ESMTP Postfix (Debian/GNU)
 +EHLO stuffed.animals
 +250-tux.oclug.on.ca
 +250-PIPELINING
 +250-SIZE 10240000
 +250-VRFY
 +250-ETRN
 +250 8BITMIME
 +MAIL FROM:  bjb@stuffed.animals
 +250 Ok
 +RCPT TO:  bbutler@oclug.on.ca
 +250 Ok
 +DATA
 +354 End data with <CR><LF>.<CR><LF>
 +ehlo stuffed.animals
 +mail from:  bjb@stuffed.animals
 +rcpt to:  bbutler@oclug.on.ca
 +
 +.
 +250 Ok: queued as 6B42D1029C7
 +421 tux.oclug.on.ca Error: timeout exceeded
 +bjb@charmeleon ~ 508 $
 +</code>
 +
 +
 +     * the email shows up in bbutler's mail /var/mail/bbutler
 +     * email to bjb@newtux is rejected (newtux is not known as a local hostname) (this is good)
 +
 +
  
hwmig2007smtp.txt ยท Last modified: 2015/06/09 15:23 (external edit)