[Mailman-Users] Recipient address rejected: User unknowninvirtualmailbox table

Mark Sapiro mark at msapiro.net
Sat Jul 10 17:09:45 CEST 2010


franc walter wrote:
>
>When i create a mailinglist on example2.org "test" and if i mail to this
>list, every member should get this mail. But without any error in the logs,
>this mail just gets swallowed by postfix:
>
>This is what i read in mail.log of postfix:
>
>Jul 10 14:20:07 example postfix/local[7899]: 62BFB6D0EC00A:
>to=<mailman at lists.example.org>, relay=local, delay=0.14,
>delays=0.01/0.01/0/0.13, dsn=2.0.0, status=sent (delivered to command:
>/var/lib/mailman/mail/mailman post mailman)
>Jul 10 14:20:07 example postfix/qmgr[32331]: 62BFB6D0EC00A: removed


Note the above says you are delivering directly to a local domain and
not via virtual_alias_maps. If this mail doesn't get processed by
Mailman, it is because you haven't started the Mailman service
(mailmanctl which in turn starts the qrunners)


>Jul 10 14:04:52 example postfix/pipe[3852]: 38D176D0EC008:
>to=<test at example.org>, orig_to=<test at lists.example2.de>, relay=dovecot,
>delay=0.02, delays=0.01/0/0/0.01, dsn=2.0.0, status=sent (delivered via
>dovecot service)
>Jul 10 14:04:52 example postfix/qmgr[32331]: 38D176D0EC008: removed
>
>instead of given to the command it is given to <test at example.org>


This mail is originally to test at lists.example2.de and is mapped by
virtual_alias_maps to the local address 'test' to which Postfix
appends its cannonical hostname. Thus the mail is mapped to
test at example.org which is handled by the Dovecot LDA and not by
Postfix' local delivery, thus the 'test' alias in data/aliases is not
used.

If you want to use the Dovecot LDA in this way, The easiest thing for
you to do is to not use Postfix virtual domains at all. Just add your
lists.examplen.org domains only to my_destination in main-cf and
remove the ,hash:/var/lib/mailman/data/virtual-mailman from
virtual_alias_maps. Then you can also remove
POSTFIX_STYLE_VIRTUAL_DOMAINS from mm_cfg.py.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list