Re: Delivering mail through nmh via SMTP...

David Levine <[email protected]> Tue, 17 Aug 2021 05:28:29 -0700
Newsgroups gmane.mail.nmh.devel,gmane.mail.exmh.user
Message-ID <CA+G7aU8C3nNoMErkt_nv5pZ1ZfuhDSuq2EgypvjLfYqjqC5BuQ@mail.gmail.com>
Emile wrote:

> 	I would like to know if NMH is able to deliver outgoing mails
> 	to localhost:1025 (that corresponds to davmail) instead of using
> 	port 25, as the SMTP default ?

Yes, by using the -port switch to send(1).

Starting with nmh 1.7, nmh defaults to port 587 instead of 25 for SMTP
submission.

> 	I've looked at mts.conf man page but that's not obvious at first
> 	glance.

Yes, the man pages have a lot of information.  The mts.conf man page does
mention send -port in its description of the SMTP servers option.

David