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=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ 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/
