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=<mail...@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=<t...@example.org>, orig_to=<t...@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 <t...@example.org>


This mail is originally to t...@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
t...@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 <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

Reply via email to