From: Noel J. <nj...@me...> - 2008-02-29 16:35:15
|
Renato Botelho wrote: > Hello, > > I'm using postfix + amavis + maildrop scenario on a FreeBSd, and it's > working like a charm, but, i had an idea and would like to ask here to > measure if it's reasonable. > > I use maildrop just to filter subject, recipient, body for some > strings and have some different acts like quarantine (backing to > amavis to a second port), discard, whitelist based on this strings. > > Would be possible to have these kind of filter made directly inside > amavis? Would be really good for me bacause i can stop using maildrop > amd mini_sendmail (used to back email to amavis or postfix) > > Thank you in advance You can use custom spamassassin rules and postfix header_checks to discard, hold, redirect, or send to another amavisd port based on the SA rules that hit by using different header_checks on the pre-filter and post-filter postfix instances. For whitelisting, use SA rules with large negative scores. -- Noel Jones |