Xaid Guru
Joined: 30 Oct 2004 Posts: 474 Location: Edmonton / Alberta
|
Posted: Thu Feb 10, 2005 2:05 am Post subject: spamassassin question |
|
|
Hi. I'm having a strange issue with SA not reading its configueration file (not in /etc/spamassassin/local.cf nor in ~/.spamassasin/user_prefs) , I searched the forums and most of what I found was related to SA + Amavis + postfix.
I dont have amavis installed, I modified postfix's master.cf file to the following:
Code: |
smtp inet n - n - - smtpd -o content_filter=spamassassin
.....
spamassassin
unix - n n - - pipe
user=nobody argv=/usr/bin/spamc -f -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}
|
and I have started spamd, from looking at the logs, all is good, mail comes thru postfix which hands it in to SA and then postfix pipes it to procmail.
the problem is, if I edit the local.cf file for SA, the changes don't seem to make any effect (I did restart spamd afterwards).
what I'm guessing is the way I'm calling it from within master.cf but I'm not sure
The other way I noticed there was a problem is when I installed dcc, I noticed that SA doesnt use it even though I have (use_dcc 1) in the config file, but if I do the following:
Code: | spamassassin -D < message |
It works fine (it uses DCC)...
anybody has any clues on what the problem might be? |
|