From: Renato B. <rb...@gm...> - 2008-02-29 16:44:04
|
On Fri, Feb 29, 2008 at 1:35 PM, Noel Jones <nj...@me...> wrote: > > 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. But ai cannot filter strings in subject, or in body of email using SA, can I? I know about whitelist and blacklist options on this, but i ned a bit more, filtering regular expressions on subject and body trying to find some texts that are used to decide the email destination. -- Renato Botelho |