nmh-workers
[Top] [All Lists]

Re: [nmh-workers] localhost anomaly

2019-06-18 03:25:32
Hi rfg,

even though this may turn out to be a "support" type question.

Not a problem.  https://lists.nongnu.org/mailman/listinfo/nmh-workers
says

    All the chat amongst nmh users, new and old, happens here, as does
    discussion amongst the developers about the future direction of nmh.

mts: smtp
servers: localhost
...
post: problem initializing server; [BHST] Connection to "localhost"
    failed: Connection refused
send: message not delivered to anyone

This error from post(8) could do with stating the attempted port.

It's a bit of a twisty path through the documentation.  mts.conf(5) says
for `servers'

    It is not possible to change the mail submission port number in the
    servers entry; see the -port switch to send(1) for this
    functionality.

send(1) lists `-port port-name/number' in the Synopsis but doesn't
define it.  You have to pick up on the

    Most of the features attributed to send are actually performed by
    post.

to read post(8) where you'll find

    The default server is set with servers in /etc/nmh/mts.conf, and the
    default port is submission, 587.

Port 587 is the `submission' port.  It sounds like your Postfix isn't
listening on that so you need a `post: -port 25' in your ~/.mh_profile.

The NEWS file in the source mentions the change.  Perhaps it's installed
somewhere by FreeBSD.

    $ grep 587 NEWS
    - post now defaults to port 587 on 'smtp' message submission.
    $

-- 
Cheers, Ralph.

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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