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: <[email protected]>
250 2.1.0 Ok
RCPT TO: <[email protected]>
550 5.1.1 <[email protected]>: 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: <[email protected]>
250 2.1.0 Ok
RCPT TO: <[email protected]>
550 5.1.1 <[email protected]>: 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:
[email protected]            smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]             smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]            smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]         smtp:mx.emailsrvr.com
[email protected]            smtp:mx.emailsrvr.com
[email protected]  smtp:mx.emailsrvr.com
[email protected]          smtp:mx.emailsrvr.com
[email protected]          smtp:mx.emailsrvr.com
[email protected]    smtp:mx.emailsrvr.com
[email protected]    smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]         smtp:mx.emailsrvr.com
[email protected]             smtp:mx.emailsrvr.com
[email protected]         smtp:mx.emailsrvr.com
[email protected]          smtp:mx.emailsrvr.com
[email protected]           smtp:mx.emailsrvr.com
[email protected]            smtp:mx.emailsrvr.com
[email protected]       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:[email protected]] 
Sent: Thursday, September 08, 2016 5:51 PM
To: Steve Wehr
Cc: [email protected]
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: <[email protected]>
RCPT TO: <[email protected]>
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 <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list [email protected]
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