[Mailman-Users] mailman not respecting /etc/postfix/transport ???

Mark Sapiro mark at msapiro.net
Thu Sep 8 17:51:27 EDT 2016


On 09/08/2016 02:02 PM, Steve Wehr wrote:
> Here it is....
> 
> /etc/postfix>postconf -n
...
> mydestination = hash:/etc/postfix/mydomains

What's in /etc/postfix/mydomains


...
> transport_maps = hash:/etc/postfix/transport

What's in /etc/postfix/transport


And what's in Mailman's Defaults.py/mm_cfg.py for SMTPPORT

Before answering the above try the following:

Assuming the Defaults.py settings are:

SMTPHOST = 'localhost'
SMTPPORT = 0

and they aren't overridden in mm_cfg.py, try the following shell session
(postfix replies not shown)

$ telnet localhost 25
EHLO tunedinweb.com
MAIL FROM: <steve at tunedinweb.com>
RCPT TO: <steve at tunedinweb.com>
DATA
.
QUIT

If that gives the error, try the same thing, but do

$ telnet 127.0.0.1 25

to start. If that works but 'localhost' gives the reject try adding
localhost to

mynetworks = 23.253.149.133/32, 127.0.0.0/8, 10.208.195.27/32

and if that doesn't solve it, add

SMTPHOST = '127.0.0.1'

to mm_cfg.py.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list