On 12/04/2013 09:35 PM, Wicher wrote: > On Tue, 3 Dec 2013 16:05:55 +0200 > Tarmo Trumm <[email protected]> wrote: > >> So i had postfix + calamav + smtpd_recipient_restrictions. >> At the moment im trying to implement dspam to my postfix >> installation. Its working web interface spam statistics quarantine >> etc. But i have PostgreSQL db where i have my mail aliases and lists >> and when email is sent to list like [email protected] dspam creates data >> file for [email protected] not for the users in the list. How can i use >> virtual alias maps with dpsam? > > I solve this by running DSPAM in LMTP mode. My Postfix then uses DSPAM > as a final destination, so after any rewrites are made. DSPAM then > delivers the mail, again over LTMP, to Dovecot, which is the real final > destination. > > I'm interested to hear any other solutions.
The problem is that you setup DSPAM to apply after the virtual aliases
are expanded by postfix, probably by using it as a content_filter or as
FILTER action.
In order to get the filtering done before alias expansion, configure
postfix to do alias expansion afterwards. Or setup DSPAM to run earlier,
f.i. as a smtpd proxy, or as a milter (using a milter wrapper like
amavisd-milter.
Regards,
Tom
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________ Dspam-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspam-user
