On 01/19/11 15:03, Ron Garret wrote: > I am working on a spam filter. I want both incoming and outgoing > messages to go through the filter, not because the outgoing messages > need to be filtered, but because I want the filter to know who my > authorized users have sent messages to because that is a very > reliable indicator of non-spam.
amavisd-new can do this for you; the feature is called "pen pals." From the homepage: pen pals soft-whitelisting feature (since 2.4.2) reduces spam score on replies to previous correspondence sent from a local user (requires logging to SQL to be enabled);