On Feb 21, 2016 at 02:03 PM +0100, Gabriel Philippe wrote:
On Sun, Feb 21, 2016 at 11:47 AM, Andreas Doll <fus...@posteo.de> wrote:
On 2016-02-21 at 12:59, li...@2ion.de wrote:
I am using msmtp[1] for this. You can keep its configuration entirely in $HOME.

I second that, msmtp works fine for me in the described setting. Note that it
only works online, for offline usage see [1].

[1]https://wiki.archlinux.org/index.php/MSMTP#Using_msmtp_offline

Thanks, I will test that. I need offline (and more generally I want
send-and-forget from mutt, without delay for DNS request, etc.).

Just another option to msmtp if you are looking for one:

Some years ago I started using putmail instead of msmtp. As it is not actively developed, I forked it and cleaned up the queuing scripts. It can be found on my github page [1]. My mutt sendmail is set to a wrapper shell script that queues all messages passed to it automatically, and then immediately dequeues them if I have an active connection. I have the dequeue script called in my crontab as well. I've been using it this way for it least 5 years with no problems. Configuration is in $HOME and it can be set to use multiple SMTP accounts based on your from address.

The wrapper around putmail (or msmtp) is nice because you can tee off the message to other utilities too if you need to, like one for collecting email addresses you've sent to.

[1]: https://github.com/tgray/putmail

Tim

Reply via email to