Re: [AMaViS-user] Different rule for outgoing mail

This is a discussion on Re: [AMaViS-user] Different rule for outgoing mail within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; R.Smits wrote: > Hello, > Difficult problem. I want to apply a different spamassassin rule to the > outgoing ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-04-2006
Gary V
 
Posts: n/a
Default Re: [AMaViS-user] Different rule for outgoing mail

R.Smits wrote:

> Hello,


> Difficult problem. I want to apply a different spamassassin rule to the
> outgoing mail stream. I know about the policy bank MYNETS.
> I want to block all the mail to the internet with a specific string in
> the subject.
> But I do not want to apply this rule to the incoming stream.


You mean you don't want the rule to hit on incoming mail. Incoming mail will
get scanned by SpamAssassin if amavisd-new is configured to do so.
Could be wrong, but I believe SpamAssassin will use the rules it is
configured to use, incoming or outgoing. Off hand the only way I see a
workaround for this condition would be running more than one copy of
amavisd-new. Or if using Postfix header checks, more than one copy of
Postfix. But I'm not suggesting this is needed at this point. I'm just
saying if you wanted a different set of rules...

> I've read about changing the master.cf... but is there an easy way to do
> this ?


How would you change master.cf?

Is this string always created by one particular host? Is it something
you have control over, so it would be unique enough that it would
never be seen in incoming mail? Do you have control over other
aspects, such as possibly inserting particular body text so a meta
rule could be created?

What problem are you trying to solve? Maybe there is another approach.

Gary V


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=...057&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0