Fabrizio Regalli wrote:
Hi Jonathan,
nice to hear this.
I'm using amavisd-new also.
My local.cf <http://local.cf> is owned by root, but readable from world
-rw-r--r-- 1 root root 1304 Dec 1 19:00 local.cf <http://local.cf>
Do you think this is the problem?
2008/12/1 Jonathan Scott <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>
Fabrizio Regalli wrote:
Hello.
I'm writing my custom rule
uri LOCAL_URI_VIAPAYPAL /www\.viapaypal\.com\//
score LOCAL_URI_VIAPAYPAL 5.0
(for add five points to e-mail contains www.viapaypal.com
<http://www.viapaypal.com/> <http://www.viapaypal.com/> into body)
I've add it to /etc/mail/spamassassin/local.cf
<http://local.cf/> <http://local.cf <http://local.cf/>> but I
can't see it with spamassassin --lint -D (and the rule seem
doesn't work)
Could someone suggest me something to check for solve this
problem?
Thanks in advance.
Hi, it could be a number of problems.
One big issue I had which took me a while to figure out was that I
was using amavisd-new with a user amavis group amavis, if this is
what you're using as well, or you are running SA under another
user (like maiamailguard or amavis etc) make sure that the
spamassassin files have ownership under that user and group,
otherwise it won't be able to read those files when it's run.
Just a thought. Let me know.
It really could be the problem, I thought my local.cf was readable by
world but it's wasn't, after I changed it's user and group everything
started working fine. amavis seems to be rather strict on this setting,
atleast from my experience. root can still edit it and doesn't save it
under root's user when saved. i'd suggest making all SA files amavis
user and amavis group.
wouldn't surprise me if it cleared it up.