On Tue, September 22, 2009 4:04 pm, Davide Libenzi wrote:
>
> For SSL, there are modules (Perl, but I bet you can find them in almost
> any scripting language), like:
>
> http://search.cpan.org/~gbarr/libnet-1.22/Net/SMTP.pm
> http://search.cpan.org/~cwest/Net-SMTP-SSL-1.01/lib/Net/SMTP/SSL.pm
> http://search.cpan.org/~fayland/Email-Send-SMTP-TLS-0.03/lib/Email/Send/SMTP/TLS.pm
>
> They support TLS and ESMTP authentication AFAIK.
> If using XMail (that IMO is overkill for this), you will need to setup a
> queue retry policy so that messages live in the queue long enough to see a
> connection coming up. Plus, you will still need to issue an ERTN command
> to flush the queue while the connection is up.

Hah!  Although not the same, I discovered msmtp, which is a one-shot MTA. 
(You pipe a message to it, it tries to send it, and then goes away.)  It
handles TLS and with a few bash scripts to handle spooling, I should be
able to do what I need.

Thanks for the prodding!  :-)

-- 
   o__
   ,>/'_         o__
   (_)\(_)       ,>/'_          o__
A day may come  (_)\(_)         ,>/'_      o__
when the courage of men fails, (_)\(_)     ,>/'_                      o__
when we forsake our friends and break all (_)\(_)                     ,>/'_
bonds of fellowship, but it is not this day. But it is not this day! (_)\(_)

This day we ride!

_______________________________________________
xmail mailing list
[email protected]
http://xmailserver.org/mailman/listinfo/xmail

Reply via email to