Steven Stern wrote:
> I have one user who insists on seeing all mail sent to her. (OK, it's my
> wife.)
> 
> I added "all_spam_to [EMAIL PROTECTED]" to local.cf and that makes it work
> for her. However, if there are other recipients bcc'd on the the email,
> then the all_spam_to negative score gets applied to the message and it
> goes through to everyone. Is there a way around this?  

Depends on your setup.

If you're filtering at the MDA layer (procmail), you'll need to start doing
per-user configuration, and only have said all_spam_to in the user_prefs of the
respective user, or better yet, just bypass calling SA for them entirely.


If you are filtering using a "site-wide" configuration at the MTA layer (milter,
etc), you probably can't fix this without some difficulty. The sticky issue here
is there's one email, sent to two users, and SA has to either tag it or not.

The usual approach to fixing this is to use a MTA layer integration that is
capable of splitting-up multi-recipient messages into a bunch of
single-recipient messages, bypass SA altogether for one copy, and give the
others to SA. Not pretty, but some tools can do it (I forget which ones 
offhand).


Both of the approaches involving bypassing SA will work a whole lot better than
using all_spam_to anyway. all_spam_to will, for example, not prevent mail bcc'ed
to your wife from getting tagged. It's just a whitelist based on what's in the
To: and Cc: headers, and nothing more. While this can be useful, most of the
time it's a kludge.


Reply via email to