OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: How to filter after forward?

From: Adam Bernstein (adamelectricembers.net)
Date: Thu Mar 16 2006 - 10:48:12 CST


> You can bounce by recipient or domain with the transport table.

Thanks, we already use recipient and transport maps, but that's not what
I need. I don't want to block whole recipients or domains, I want to
filter (non-deliver) only messages that satisfy both of the following:

     - has been tagged as spam by our SpamAssassin (on another server)
     - has been forwarded by a user's local .forward to an account on
       yahoo/aol/etc.

Since the forwarding happens only after the local delivery and doesn't
update any headers that I can see for the outbound message, and since
the spam-scanning process can't know that the user is going to forward
it off the system, I can't see what technique to use for filtering.

Much obliged for any help.

       ab