nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] How Does One Set mts.conf for msmtp as Sendmail?


From: Ken Hornstein
Subject: Re: [Nmh-workers] How Does One Set mts.conf for msmtp as Sendmail?
Date: Mon, 20 Jul 2015 14:20:39 -0400

>       nmh talks to sendmail on a Linux system and the sendmail
>it is talking to is just another name for exim4 which is the MTA
>found on many Linux systems. It is a drop-in for sendmail and
>works fine with nmh if you are either working as a full mail
>system that can do all the resolution necessary to directly send
>mail anywhere or one can configure it to send all non-local mail
>to a "smarthost" that does all the name and address resolution
>for you. What it doesn't do very easily is contact a smtp
>mailhost that requires a TLS-based authentication mechanism that
>msmtp does handle more intuitively.

I feel obligated to point out that nmh can speak TLS and perform
authentication natively, so if that's all you need no other tools are
required.  But, if you really wish to use msmtp, it looks like you
just need to change the entry in mts.conf for "sendmail" to point to
the msmtp binary (which looks like it's normally installed as
/usr/bin/msmtp). e.g.:

sendmail: /usr/bin/msmtp

And configure msmtp appropriately (which is outside of the scope of nmh).

--Ken



reply via email to

[Prev in Thread] Current Thread [Next in Thread]