On 10/11/2011 6:07 PM, Mark Sapiro wrote:
On 10/10/2011 5:40 PM, Nick Bright wrote:

[...]
mm_cfg.py contains:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['valnet.net']
MTA = 'Postfix'
DEFAULT_URL_HOST   = 'mail.valnet.net'
DEFAULT_EMAIL_HOST = 'valnet.net'
VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'valnet.net'


The above line is wrong. Normally you shouldn't need to specify
VIRTUAL_MAILMAN_LOCAL_DOMAIN at all, but if it is specified, it should
be something like 'localhost' or 'some.other.postfix.local.domain'. It
must not be the list domain because if it is it will result in
virtual-mailman mappings like

[email protected]    [email protected]

which tell Postfix to map the virtual domain address [email protected]
to the address [email protected] which is the same address and doesn't
tell Postfix what real address to actually deliver to.

[...]


Thank you for your reply, I appreciate you taking the time to look at my question.

I've commented out VIRTUAL_MAILMAN_LOCAL_DOMAIN completely from mm_cfg.py, and reran genaliases.

It's created a /etc/mailman/virtual-mailman contents of:

# STANZA START: testlist
# CREATED: Wed Oct 12 13:16:32 2011
[email protected]              testlist
[email protected]        testlist-admin
[email protected]      testlist-bounces
[email protected]      testlist-confirm
[email protected]         testlist-join
[email protected]        testlist-leave
[email protected]        testlist-owner
[email protected]      testlist-request
[email protected]    testlist-subscribe
[email protected]  testlist-unsubscribe
# STANZA END: testlist

and /etc/mailman/aliases contents of:

# STANZA START: testlist
# CREATED: Wed Oct 12 13:16:32 2011
testlist:             "|/usr/lib/mailman/mail/mailman post testlist"
testlist-admin:       "|/usr/lib/mailman/mail/mailman admin testlist"
testlist-bounces:     "|/usr/lib/mailman/mail/mailman bounces testlist"
testlist-confirm:     "|/usr/lib/mailman/mail/mailman confirm testlist"
testlist-join:        "|/usr/lib/mailman/mail/mailman join testlist"
testlist-leave:       "|/usr/lib/mailman/mail/mailman leave testlist"
testlist-owner:       "|/usr/lib/mailman/mail/mailman owner testlist"
testlist-request:     "|/usr/lib/mailman/mail/mailman request testlist"
testlist-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe testlist"
testlist-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe testlist"
# STANZA END: testlist

But still, when I send a message to [email protected] a bounce is generated as:

<[email protected]>: unknown user: "[email protected]"

with an associated postfix log entry of:

Oct 12 13:17:22 mail postfix/virtual[30579]: 7B1FC416DB: to=<[email protected]>, relay=virtual, delay=0.06, delays=0.03/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: "[email protected]")

Identical behavior was observed when changing VIRTUAL_MAILMAN_LOCAL_DOMAIN to 'localhost'.

The problem seems, to me, to be that the mail isn't making it to the "local" delivery agent; but I am new to postfix and mailman so I'm not really certain of how to make that happen.

Thanks in advance for any further advice,

 - Nick


------------------------------------------------------
Mailman-Users mailing list [email protected]
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to