Guillaume HILT a écrit : > Hi, > > I'm using mailman 2.1.11 on gentoo AMD64. > It's running with postfix, dspam and virtual domains/users (managed by > postfixadmin). > > My problem is that all emails sent to a mailing list fall in the catchall. > I'm using a specifig subdomain for the lists, ml.domain.com and I > configured it with postfix admin to use mailman transport instead of > virtual. > It seems that postfix strips the ml. in the subdomain,
This is because of your virtual-mailman things: inte...@ml.domain.com interne is the same as inte...@ml.domain.com inte...@$myorigin you can: - remove these virtual aliases altogether - add ml.domain.com to mydestination This way *...@ml.domain.com will be delivered via "local" and alias_maps will be used to run mailman commands. > acts like it was > sent to domain.com, and then deliver the mail (using virtual transport) > to the catchall since no mail account exists by the list name. > > May 5 09:48:28 srv1 postfix/qmgr[30291]: EA9AC7746063: > from=<gh...@domain.com>, size=802, nrcpt=1 (queue active) > May 5 09:48:28 srv1 postfix/cleanup[28540]: 4F22A77460A4: > message-id=<49ffef39.9080...@domain.com> > May 5 09:48:28 srv1 postfix/qmgr[30291]: 4F22A77460A4: > from=<gh...@domain.com>, size=1240, nrcpt=1 (queue active) > May 5 09:48:28 srv1 postfix/lmtp[28542]: EA9AC7746063: > to=<catch...@domain.com>, orig_to=<inte...@ml.domain.com>, > relay=mail.domain.com[/var/run/dspam/dspam.sock], delay=0.94, > delays=0.35/0/0/0.59, dsn=2.6.0, status=sent (250 2.6.0 > <catch...@domain.com> Message accepted for delivery) > [snip]