On Fri, Aug 26, 2005 at 10:47:29AM +0200, Martin Schulze wrote: > >Upon investigation of this problem I noticed that ssmtp (oldstable >and stable) always strips the last line of the input before sending. > >gluck!joey(pts/4):~> seq 1 10|sendmail [EMAIL PROTECTED] > >--> 1..9 > >gluck!joey(pts/4):~> echo seq 1 10|sendmail [EMAIL PROTECTED] > >--> no lines > >This is not fixed by the above patch.
I've patched ssmtp.c to fix the problem above and to close #310327 in ssmtp 2.61-5. It can be argued that you _must_ separate the data from the mail headers with an empty line. The following works: (echo; seq 1 10)|sendmail [EMAIL PROTECTED] If you want to really fix it, I can send you patches for the oldstable and stable versions of ssmtp. I can also prepare new packages as well. Please let me know what would you like me to do. The other problem, the subject of #310327, is fixed in ssmtp 2.61-5 by the patch at: http://bugs.debian.org/cgi-bin/bugreport.cgi/ssmtp_2.61-4_non_blocking_fgets.diff?bug=310327;msg=64;att=2 That patch is not requiered for the versions of ssmtp currently in oldstable and stable as bug #310327 was introduced with ssmtp 2.61-3. > >Regards, > > Joey > >-- >WARNING: Do not execute! This call violates patent DE10108564. >http://www.elug.de/projekte/patent-party/patente/DE10108564 > >wget -O patinfo-`date +"%Y%m%d"`.html http://patinfo.ffii.org/ > >Please always Cc to me when replying to me on the lists. -- Mit freundlichen Grüßen, Anibal Monsalve Salazar -- .''`. Debian GNU/Linux : :' : Free Operating System `. `' http://debian.org/ `- http://v7w.com/anibal
signature.asc
Description: Digital signature