Problems with users rules

Peter Bonivart peter at UCGBOOK.COM
Wed Mar 30 10:06:27 IST 2005


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

Royer Christophe wrote:
> Hi everybody
>
> I'm trying to use MS/SA and I would like to do the following thing, I've
> looked on FAQ and MAQ, but I didn't find the tips, maybe someone can
> help me.
>
> Some users want to remove ack message from their mails before
> downloading the mails, so I've created for this users the following
> rules in /home/nameofuser/.spamassassin/user_prefs
>
> header CONTAIN_ACK Subject =~ /ack:/i
> score CONTAIN_ACK 99.0
> body CONTAIN_RECEIPT /Receipt/i
> score CONTAIN_RECEIPT 99.0
>
> and in /opt/MailScanner/etc/spam.assassin.prefs.conf, I've said
> allow_user_rules 1
>
> So, the problem is the following, when I'm running MS, it doesn't take
> care about user rules.

SA is run as one user, normally root, by MS. You can't map unix users to
  mail recipients using MS. I suggest you use procmail or similar.

--
/Peter Bonivart

--Unix lovers do it in the Sun

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list