AnĂ­bal Monsalve Salazar 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.

Oh, I see.

If I recall correctly, I've used mailx to build the mail before
so that there was a header.  Well, then it may not be a bug but
a "feature" and we can leave it as it is.

> 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.

Good news.  Thanks.

Regards,

        Joey

-- 
All language designers are arrogant.  Goes with the territory...
        -- Larry Wall

Please always Cc to me when replying to me on the lists.

Reply via email to