Renato Botelho wrote:
> On Fri, Feb 29, 2008 at 1:35 PM, Noel Jones <[EMAIL PROTECTED]> 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.
> 
> 

You add your own rules to SA and you can filter on just about 
anything you want using (perl) regular expressions.  Google is 
your friend.
http://www.google.com/search?&q=writing+spamassassin+rules

-- 
Noel Jones

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to