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

testl...@valnet.net    testl...@valnet.net

which tell Postfix to map the virtual domain address testl...@valnet.net
to the address testl...@valnet.net 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
testl...@valnet.net              testlist
testlist-ad...@valnet.net        testlist-admin
testlist-boun...@valnet.net      testlist-bounces
testlist-conf...@valnet.net      testlist-confirm
testlist-j...@valnet.net         testlist-join
testlist-le...@valnet.net        testlist-leave
testlist-ow...@valnet.net        testlist-owner
testlist-requ...@valnet.net      testlist-request
testlist-subscr...@valnet.net    testlist-subscribe
testlist-unsubscr...@valnet.net  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 testl...@valnet.net a bounce is generated as:

<testl...@valnet.net>: unknown user: "testl...@valnet.net"

with an associated postfix log entry of:

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

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 Mailman-Users@python.org
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