At 02:13 PM 11/30/2006, you wrote:
Because of the many ways SA can be implemented, other than the
suggestion provided, the task of providing a working example of how
this is accomplished for each possible implementation is not simple
(because it's no small task to imagine every possible
implementaion). For example, I came up with about 15 scenarios when
the implementation involves amavisd-new and Postfix. Considering the
number of other implementations and specific needs, it is apparent
there are many ways to approach the issue. In this case for example,
more information would be needed to give a practical example.
There's always the blunt method:
"How do I have spamassassin...
not scan outgoing mail?
not scan mail for authenticated users?
not scan mail for Bob, but scan mail for Joe?
not scan mail from yahoo.com?
not scan mail <insert condition here>?
Answer:
Don't call spamassassin when that condition is met. Spamassassin will
scan all mail fed to it. However you are calling spamassassin, create
a work around to not call spamassassin for that event.
Think of it as a paper shredder. Your wife gives you a stack of
papers, and says shred everything except the bank statements.
If you put a bank statement in the shredder, the shredder will shred it."
:-D