Package: ssmtp Version: 2.61-2 Hi!
ssmtp does have a problem with long input lines and dots. In
standardise(), a single line is checked to not start with a dot. If it
does, a leading dot is inserted. I guess this was to not quit the DATA
transaction when talking to other MTAs.
However, very long lines (larger than ssmtp's bufsize, with is 2k) are
read in 2k blocks and *each* 2k block is checked against a leading
dot. In my case (a bulid robot building binutils/gcc/glibc/uclibc
sources), some lines are as long as 25k (eg. linking of all libc
files) and these contain dots. Unfortunately, one dot is on a 2k+1
boundary and thus, ssmtp dies in standardise().
It would be nice if buffer handling could either be done in a more
dynamic way, or by just reading one byte less than buffer's size.
(This would allow for adding a dot, though it would break the email's
contents, thing GnuPG).
Thanks,
Jan-Benedict Glaw
--
Jan-Benedict Glaw [EMAIL PROTECTED] . +49-172-7608481 _ O _
"Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O
für einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O
ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
signature.asc
Description: Digital signature

