[Mailman-Users] mailman not respecting /etc/postfix/transport ???
Steve Wehr
steve at tunedinweb.com
Fri Sep 9 10:33:39 EDT 2016
Thanks Mark, Here are the results of the tests you suggested. Both attempts
at telnet failed.
Tried your experiment:
/etc/postfix>telnet localhost 25
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 tunedinweb.com ESMTP Postfix
EHLO tunedinweb.com
250-tunedinweb.com
250-PIPELINING
250-SIZE 68157440
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: <steve at tunedinweb.com>
250 2.1.0 Ok
RCPT TO: <steve at tunedinweb.com>
550 5.1.1 <steve at tunedinweb.com>: Recipient address rejected: User unknown
in local recipient table
quit
221 2.0.0 Bye
Connection closed by foreign host.
/etc/postfix>telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 tunedinweb.com ESMTP Postfix
EHLO tunedinweb.com
250-tunedinweb.com
250-PIPELINING
250-SIZE 68157440
250-VRFY
250-ETRN
250-STARTTLS
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
MAIL FROM: <steve at tunedinweb.com>
250 2.1.0 Ok
RCPT TO: <steve at tunedinweb.com>
550 5.1.1 <steve at tunedinweb.com>: Recipient address rejected: User unknown
in local recipient table
quit
221 2.0.0 Bye
Connection closed by foreign host.
from Defaults.py. Not in mm_cfg.py
SMTPHOST = 'localhost'
SMTPPORT = 0
/etc/postfix/mydomains:
localhost OK
tunedin OK
# Always keep tunedinweb.com as a local domain, so that we can process
mailman
# email commands
tunedinweb.com OK
/etc/postfix/transport:
steve at tunedinweb.com smtp:mx.emailsrvr.com
steves at tunedinweb.com smtp:mx.emailsrvr.com
stevew at tunedinweb.com smtp:mx.emailsrvr.com
wehr at tunedinweb.com smtp:mx.emailsrvr.com
stiert at tunedinweb.com smtp:mx.emailsrvr.com
admin at tunedinweb.com smtp:mx.emailsrvr.com
errors at tunedinweb.com smtp:mx.emailsrvr.com
events at tunedinweb.com smtp:mx.emailsrvr.com
feedback at tunedinweb.com smtp:mx.emailsrvr.com
email at tunedinweb.com smtp:mx.emailsrvr.com
ideachamp_order at tunedinweb.com smtp:mx.emailsrvr.com
inquiry at tunedinweb.com smtp:mx.emailsrvr.com
mailman at tunedinweb.com smtp:mx.emailsrvr.com
mailman_admin at tunedinweb.com smtp:mx.emailsrvr.com
mailman-owner at tunedinweb.com smtp:mx.emailsrvr.com
orders at tunedinweb.com smtp:mx.emailsrvr.com
payments at tunedinweb.com smtp:mx.emailsrvr.com
root at tunedinweb.com smtp:mx.emailsrvr.com
security at tunedinweb.com smtp:mx.emailsrvr.com
tunedin at tunedinweb.com smtp:mx.emailsrvr.com
verify at tunedinweb.com smtp:mx.emailsrvr.com
abuse at tunedinweb.com smtp:mx.emailsrvr.com
postmaster at tunedinweb.com smtp:mx.emailsrvr.com
(mx.emailsrvr.com is the rackspace email server where the mailbox for
tunedinweb.com is hosted.)
_____________________
Steve Wehr
Tunedin Web Design
845-246-9643
-----Original Message-----
From: Mark Sapiro [mailto:mark at msapiro.net]
Sent: Thursday, September 08, 2016 5:51 PM
To: Steve Wehr
Cc: Mailman-Users at python.org
Subject: Re: [Mailman-Users] mailman not respecting /etc/postfix/transport
???
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