How to use ssmtp ?

Tino Lange tino.lange@isg.de
Fri Mar 14 14:15:00 GMT 2003


Jason Tishler wrote:

>>Forget about ssmtp! Really.
>>As you just realize it's not easy to use and if you want to send files
>>it's not useable at all, since it has a limit of mails <= 4k size.

> The above size limit is not quite true.  From the ssmtp man page, we
> have the following:
> 
>     Header size is limited to 4K and a max of 100 addresses.
> 
> Note that I have used ssmtp for years, sent thousands of messages
> through it, and *never* bumped up against the above limitations.


Jason,

Hmmm, yes, your right.
But it's not possible to send mails like this:

> $ mailfile -adr tino.lange@isg.de curl-7.9.8.tar.gz
> sendmail: Header too large Max is 4000 characters

The program 'mailfile' wraps up the mail including attachment and calls 
ssmtp via

ssmtp.exe -i tino.lange@isg.de < MAILTEXT

That's why it's quite unusable for that kind of sending mails.
sendmail or even a small python script using smtplib has no problem 
sending such mails.

Cheers,

Tino




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list