nmh-workers
[Top] [All Lists]

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

2015-07-20 13:19:06
      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

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>