all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Tobias Eichner
Hello, I'm currently facing the following problem with SpamAssassin (version 3.0, I think, but not sure): I configured SpamAssassin to mark spam mails by adding the string SPAM... to the beginning of the original mail subject. So far, this works well. Users can now configure a sorting rule

Re: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Charles Gregory
On Thu, 6 Aug 2009, Tobias Eichner wrote: all_spam_to bbpe...@domain.tld bbchar...@otherdomain.tld Although this is set up, people are still reporting that they sometimes receive mails tagged with SPAM... subject. As per,

AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Tobias Eichner
The SpamAssassin ALL_SPAM_TO mechanism only works if the given email address appears in the TO: or CC: lines of the email itself. It does Yes, it does. not examine the delivery envelope. Thus BCC'ed emails, those delivered by mailing lists, or those with fake TO: lines will not

Re: [sa] AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Charles Gregory
On Thu, 6 Aug 2009, Tobias Eichner wrote: not examine the delivery envelope. Thus BCC'ed emails, those delivered by mailing lists, or those with fake TO: lines will not have the negative score modifier applied. What do you mean with fake TO: ? Spammer enters a random address as the

Re: [sa] AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Tobias Eichner
I got information about the mail flows (from the technician managing the BlackBerry phones): Message -- Send from an account on our server --- to a mailbox at O2 (cell phone provider) --- and from there directly to the phone What I not understand is why messages are checked for spam overall ?

Re: [sa] AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Karsten Bräckelmann
On Thu, 2009-08-06 at 21:34 +, Tobias Eichner wrote: I not understand is why messages are checked for spam overall ? My assumption is that SpamAssassin checks only INCOMING mails, but not the outgoing ones. Strange. SA checks, what it is being fed. If you do not want to check outgoing

Re: AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Karsten Bräckelmann
On Thu, 2009-08-06 at 20:35 +, Tobias Eichner wrote: X-Spam-Status: No, hits=-101.195 tagged_above=-999 required=5 tests=BAYES_00, BLANK_LINES_70_80, USER_IN_ALL_SPAM_TO Amavis headers. These are not added by SA, but Amavis. I keep forgetting this, but I believe the option whether to

AW: [sa] AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Tobias Eichner
SA checks, what it is being fed. If you do not want to check outgoing messages, you need to set up your mail processing chain accordingly. Point being: From what you just said, you are scanning your outgoing messages. SA just does, what you asked for. Sure, but the problem isn't solved.

AW: AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Tobias Eichner
Amavis headers. These are not added by SA, but Amavis. I keep forgetting this, but I believe the option whether to rewrite the Subject *also* is an Amavis setting. Not SA. You are looking at the wrong configuration files. Are you sure ? all_spam_to is a SA setting, not affiliated with

AW: [sa] AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Tobias Eichner
If you are running amavis-new as a Postfix service (i.e. defined in master.cf as a service that re-injects checked messages into Postfix) then all mail arriving via SMTP will be scanned - and this normally includes outbound as well as inbound messages. Okay, then it is intended this way. I

Re: AW: [sa] AW: all_spam_to seems to be ignored sometimes...

2009-08-06 Thread Karsten Bräckelmann
On Thu, 2009-08-06 at 22:46 +, Tobias Eichner wrote: SA checks, what it is being fed. If you do not want to check outgoing messages, you need to set up your mail processing chain accordingly. Point being: From what you just said, you are scanning your outgoing messages. SA just