Dustin wrote: > I need to create a rule that evaluates both the To: & From: addresses > (domains) in an e-mail. I want to mark/tag/block/whatever e-mails that > have the same originating & destination domains (i.e. the sender is > spoofing the recipient domain).
Then your users cannot send mail to each other. What you are after is mail From: and To: your domain, but not from clients/severs on your network. > I have played around with some meta > rules in SpamAssassin, but have met with limited success... > 1) is this correct way to approach this issue? > 2) If so, how would you construct the rule to make it work? > 3) If this is not the way to accomplish this task, how would you suggest > that this task be accomplished? > As always, your input is greatly appreciated... > Thank you. > Dustin. This has been discussed on the Postfix mailing list a number of times, and you should know that once configured, it breaks forwarding. If you are using Postfix, search the archives for "breaks forwarding". http://marc.theaimsgroup.com/?l=postfix-users Here are a few examples: http://marc.theaimsgroup.com/?l=postfix-users&m=113226800214718&w=2 http://marc.theaimsgroup.com/?l=postfix-users&m=112679495620093&w=2 http://www.stahl.bau.tu-bs.de/~hildeb/postfix/postfix_incoming.shtml Gary V ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/