On 10/10/2011 5:40 PM, Nick Bright wrote: > > I've followed the mailman documentation for integrating mailman with > postfix, according to > http://www.list.org/mailman-install/postfix-virtual.html as well as > various mailing list posts on this list. > > Note that I am attempting to configure a virtual_mailbox_domain with > mailman (not a virtual_alias_domain). > > 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. [...] > Unfortunately, when I send an email to testl...@valnet.net I receive a > bounce back of: > > <testl...@valnet.net>: unknown user: "testl...@valnet.net" > > With an associated postfix log entry of: > > Oct 10 19:22:47 mail postfix/virtual[22090]: DBF7241F5F: > to=<testl...@valnet.net>, relay=virtual, delay=0.39, > delays=0.36/0/0/0.03, dsn=5.1.1, status=bounced (unknown user: > "testl...@valnet.net") Because you are mapping testl...@valnet.net to testl...@valnet.net instead of to testlist or testlist@localhost > When I test the alias maps I see: > > [root@mail postfix]# postmap -q testl...@valnet.net > hash:/etc/mailman/virtual-mailman > testlist This is the puzzling part as it says that the mapping in virtual-mailman is to testlist and not to testl...@valnet.net, so it should be working ??? -- 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 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