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: <st...@tunedinweb.com>
250 2.1.0 Ok
RCPT TO: <st...@tunedinweb.com>
550 5.1.1 <st...@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: <st...@tunedinweb.com>
250 2.1.0 Ok
RCPT TO: <st...@tunedinweb.com>
550 5.1.1 <st...@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:
st...@tunedinweb.com            smtp:mx.emailsrvr.com
ste...@tunedinweb.com           smtp:mx.emailsrvr.com
ste...@tunedinweb.com           smtp:mx.emailsrvr.com
w...@tunedinweb.com             smtp:mx.emailsrvr.com
sti...@tunedinweb.com           smtp:mx.emailsrvr.com
ad...@tunedinweb.com            smtp:mx.emailsrvr.com
err...@tunedinweb.com           smtp:mx.emailsrvr.com
eve...@tunedinweb.com           smtp:mx.emailsrvr.com
feedb...@tunedinweb.com         smtp:mx.emailsrvr.com
em...@tunedinweb.com            smtp:mx.emailsrvr.com
ideachamp_or...@tunedinweb.com  smtp:mx.emailsrvr.com
inqu...@tunedinweb.com          smtp:mx.emailsrvr.com
mail...@tunedinweb.com          smtp:mx.emailsrvr.com
mailman_ad...@tunedinweb.com    smtp:mx.emailsrvr.com
mailman-ow...@tunedinweb.com    smtp:mx.emailsrvr.com
ord...@tunedinweb.com           smtp:mx.emailsrvr.com
payme...@tunedinweb.com         smtp:mx.emailsrvr.com
r...@tunedinweb.com             smtp:mx.emailsrvr.com
secur...@tunedinweb.com         smtp:mx.emailsrvr.com
tune...@tunedinweb.com          smtp:mx.emailsrvr.com
ver...@tunedinweb.com           smtp:mx.emailsrvr.com
ab...@tunedinweb.com            smtp:mx.emailsrvr.com
postmas...@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:m...@msapiro.net] 
Sent: Thursday, September 08, 2016 5:51 PM
To: Steve Wehr
Cc: Mailman-Users@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: <st...@tunedinweb.com>
RCPT TO: <st...@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 <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to