This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to use ssmtp ?


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 dot lange at isg dot 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 dot lange at isg dot 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]