jetmore / swaks

Swaks - Swiss Army Knife for SMTP
http://jetmore.org/john/code/swaks/
GNU General Public License v2.0
847 stars 86 forks source link

using no-data-fixup option causes timeout, won't send #69

Closed afjlee closed 7 months ago

afjlee commented 7 months ago

when I was trying to use -ndf option to workaround the \n escaping issue in message, it always timed out, couldn't send.

swaks -s localhost:2500 -t hello1@test -ndf -d @/downloads/test.eml ... -> --42462a96-0317-41e4-b937-fe61f2c86da5-- -> -> < Timeout (30 secs) waiting for server response -> QUIT < Timeout (30 secs) waiting for server response === Connection closed with remote host.

I am guessing it is not adding trailing dot to end data. Am I using it wrongly? thanks!

afjlee commented 7 months ago

My mistake, the file should have proper EOM signal. It was missing CRs.