Craig R Hughes wrote:

> Actually, it now can (since 2.20).  Just put
>
> allow_user_rules 1
>
> in the /etc/mail/spamassassin/local.cf and then rules in
> ~/.spamassassin/user_prefs will be parsed and used.

That's not working for me.  I'm using SpamAssassin 2.20.  In 
'~/.spamassassin/user_prefs', per a suggestion on this list a few 
days ago, I have:

header    OLD_ADDRESS    Delivered-To =~ /my-old-
address\@enchanter\.net/i
describe  OLD_ADDRESS    Sent to old address 'my-old-
[EMAIL PROTECTED]'
score     OLD_ADDRESS    9.9

In '/etc/mail/spamassassin/local.cf' I added the line 
'allow_user_rules 1'.

If I receive email with a header 'Delivered-To: my-old-
[EMAIL PROTECTED]', and my .procmailrc calls 
/usr/bin/spamassassin, then the email properly has a "SPAM: *  9.9 
Sent to old address '[EMAIL PROTECTED]'" line added to 
its body.

If my .procmailrc calls /usr/bin/spamc instead, then the email is 
still processed, but it won't have that 'old address' line added to 
the score.

Am I setting up something wrong, or is this a SpamAssassin bug?

  ____    |\/|                 Brian Kendig   Set your priorities right.
  \  /\   / ..__.    brian at enchanter net   No one ever said on his
   \/  \__\   _/   http://www.enchanter.net/  death bed, "Gee, if I'd
    \__   __  \_      Be insatiably curious.  only spent more time at
       \____\___\           Ask "why" a lot.  the office."


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to