dam0vm3nt / subethasmtp

Automatically exported from code.google.com/p/subethasmtp
Other
0 stars 0 forks source link

Suebetha loses session.helo after first email #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/subethasmtp/source/browse/trunk/src/main/java/org/subet
hamail/smtp/command/DataCommand.java#81

After receiving the DATA portion of an email, DataCommand.execute calls 
sess.resetMessageState() which sets Session.helo to null.  This means that 
subsequent received emails in the same session get "Received: from null" in 
their headers, instead of "Received: from <hostname>".

Original issue reported on code.google.com by danlarki...@gmail.com on 15 Sep 2011 at 7:03

GoogleCodeExporter commented 9 years ago
Fixed in svn, please verify.

Original comment by hontvari@flyordie.com on 27 Sep 2011 at 4:54