nmh-workers
[Top] [All Lists]

Re: Delivering mail through nmh via SMTP...

2021-08-17 20:05:23
Thus said "Andy Bradford" on 17 Aug 2021 18:50:01 -0600:

Thus said David Levine on Tue, 17 Aug 2021 05:28:29 -0700:

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

Personally I think this was a  mistake. SMTP is port 25, SUBMISSION is
port 587. If something  says SMTP, what comes to mind  is port 25, not
587.

Let me clarify what I meant since  I was looking at mts.conf when I read
your comment... (obviously you did mention submission).

Here is what is in mts.conf (much of which is mirrored in mh-tailor(5):

# The delivery method to use, which must be one of the following:
# smtp:          nmh opens a socket connection to the appropriate port
#                on the servers listed below and speaks SMTP to the
#                first one that responds.  This is the default.
# sendmail/smtp: nmh pipes messages directly to the sendmail program,
#                speaking SMTP.  Can be abbreviated to "sendmail".
# sendmail/pipe: nmh pipes messages directly to the sendmail program,
#                using the -t option so that addresses are retrieved
#                from the message.

I  think  a  new  value  for   mts  should  have  been  invented  called
"submission" that would be used in place of smtp.

Also, given that  is it not possible to change  the smtp/submission port
in mts.conf, this further bolsters  the argument that it should probably
not have changed to 587 by default and a new mts method invented.

Andy


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