Re: Delivering mail through nmh via SMTP...
Emile CARCAMO <[email protected]> Tue, 17 Aug 2021 15:53:23 +0200
| Newsgroups | gmane.mail.nmh.devel,gmane.mail.exmh.user |
|---|---|
| Message-ID | <[email protected]> |
> Emile wrote: >=20 > > 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 ? >=20 > Yes, by using the -port switch to send(1). >=20 > Starting with nmh 1.7, nmh defaults to port 587 instead of 25 for SMTP > submission. >=20 > > I've looked at mts.conf man page but that's not obvious at first > > glance. >=20 > Yes, the man pages have a lot of information. The mts.conf man page do= es > mention send -port in its description of the SMTP servers option. >=20 > David >=20 Hello David, Many thanks for your reply but how do you tell =22send=22 to use an alternate port (1025 rather than 587) ? I suppose this can be done via =7E/.mh_profile tuning, right ? =5Bemile=40dell540 =7E=5D=24 cat .mh_profile Header-Display: Resent From Subject To Cc Date AliasFile: /users/emile/.mh_aliases unseen-sequence: unseen draft-folder: drafts send: -mime forw: -mime Path: Mail mhshow-show-application/x-gzip: /bin/cp %f /users/emile/. =5Bemile=40dell540 =7E=5D=24=20 Best regards, -=C9mile CARCAMO