Sietse van Zanen wrote:
> I have run across the following situation:
>  
> I have a user, which receives all spam unmodified (ALL_SPAM_TO).
>  
> When a spam message is sent to multiple users on my machine, including
> the one in ALL_SPAM_TO, all users addressed in the message get it
> unmodified, not only the ALL_SPAM_TO user. Is this correct behaviour?
>  
> -Sietse
SA doesn't know for sure who the current message is being delivered to.
It acts only on the contents of the message, nothing more.

To compound the problem, if you call at the MTA layer, there is only one
message fed to SA. At that point, SA absolutely must act on an "all or
nothing" basis.

If you're calling at the MDA layer in a way that allows per-user
user_prefs files, move the all_spam_to command into that user's own
user_prefs file.. This way it will only be in effect when the message is
being delivered to that user.

Reply via email to