[Amavisd-new-debian-devel] Amavisd-new with SQL backend : per
user quarantine
Mark Martinec
Mark.Martinec+amavis at ijs.si
Thu Mar 15 02:36:23 CET 2007
Jonathan,
> But I want to have a per-user quarantine, but i dont want to store spams
> in postgres, but in dedicated folders for each virtual users.
So don't quarantine spam, just deliver it (tagged) to a recipient's
dedicated mailbox.
> I've try to use recipient delimiter n o managed per user quarantine,
Quaranted mail is not supposed to be directly accessible to recipients,
this would violate sender's privacy, revealing all recipients of a message.
> like this :
> * when i send a spam to jo at test.net, I've configured his user policy
> (in amavis) to quarantine to jo+spam at test.net
> (with my SQL policy table as - spam_quarantine_to='spam-quarantine'
> -
> addr_extension_spam='spam'
> spam_tag_level=3,
> spam_tag2_level=6.9,
> spam_kill_level=999
> -
> spam_quarantine_cutoff_level=999
> *with this trick with recipient delimiter, I want the spam to go in the
> subfolder "spam" of jo at test.net 's mailbox
> $final_spam_destiny = D_DISCARD;
Don't discard spam (and don't quarantine it), set $final_spam_destiny
to D_PASS, you want spam delivered to recipients (dedicated) folder.
> $recipient_delimiter = '+';
> @addr_extension_spam_maps = ('spam');
Yes. All mail to local recipients with spam score above tag2 level
will have a '+spam' appended to a recipient's mailbox name:
jo at test.net -> jo+spam at test.net. Just configure LDA to store
such mail into a dedicated folder.
See:
http://www.ijs.si/software/amavisd/amavisd-new-docs.html#addrext
Mark
More information about the Amavisd-new-debian-devel
mailing list