I am still trying to get the programs in nmh that talk to the
mail transport agent to send the message to msmtp so I set the
following lines in /etc/nmh/mts.conf:
mts: sendmail
sendmail: /usr/local/bin/sendmail
Okay, that is a bit of a hack. Since the only two types
of MTA one can call are smtp and sendmail, I thought I would get
sneaky and do the following:
ln -s /usr/bin/msmtp /usr/local/bin/sendmail
This should have forced all nmh applications using sendmail to
use the new link I had created.
I believe it still tried to use /usr/sbin/sendmail. There were
squawks in /var/log/exim4/mainlog that shouldn't have appeared
if it really had attempted to use msmtp. Also, there are logs
that msmtp creates and they don't become any larger.
Martin
_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers