#1 (permalink)  
Old 07-01-2007, 12:37 AM
cev cev is offline
Registered User
 
Join Date: Apr 2002
Posts: 17
cev
SpamAssassin Configuration (user_prefs) ignored

Hi

Since around a day all the settings I set in cPanel under "SpamAssassin Configuration" don't get used by SpamAssassin. Those are the same information that are in the file /home/username/.spamassassin/user_prefs.

I don't find any errors in any of the logs.

Has anyone an idea where this could be disabled and how to enable the use of user_prefs again?

Thanks.
Rony
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-01-2007, 11:51 AM
cpanelnick's Avatar
cPanel Staff
 
Join Date: Feb 2003
Location: Houston, TX
Posts: 4,348
cpanelnick is on a distinguished road
Try restarting spamd

/etc/rc.d/init.d/exim restart
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-02-2007, 03:09 AM
cev cev is offline
Registered User
 
Join Date: Apr 2002
Posts: 17
cev
Hi Nick

Thanks for your reply.

I tried to reinstall exim, reinstall Spamassassin and it didn't made any difference.

However since early today it works again, don't know exactly why.

Rony
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-09-2007, 03:40 PM
Registered User
 
Join Date: Aug 2002
Posts: 1,084
sparek-3 is on a distinguished road
I seem to be having a similar problem. Sometimes the user_prefs file is read other times it is not.

cPanel 11 - SpamAssassin ignoring user_prefs

I am wondering if it has anything to with the fact that the spam condition in Exim caches values:

http://www.exim.org/exim-html-curren...ECTscanspamass

"The spam condition caches its results. If you call it again with the same user name, it does not scan again, but rather returns the same values as before."

I'm not exactly sure what that line means.

I did adjust the exim.conf file to include a header with the value of $acl_m1, the user that the spam condition is running as. In both instances (when the user_prefs file is read and when it is not) it reports the same value (the correct user).

I don't know if this is a bug in exim, a bug in SpamAssassin, or maybe its not really a bug at all. I have completely reset the exim configs to the default to test this. And like I said, sometimes the whitelists are read properly and a known spam message is allowed through, other times the whitelists appear to be completely ignored.

Running the latest Release 11.6.0-RELEASE_15032
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 07-10-2007, 09:03 AM
Registered User
 
Join Date: Aug 2002
Posts: 1,084
sparek-3 is on a distinguished road
Turns out that this appears to be a permission problem. At least that has seemed to fix the issue on my servers.

The permissions on the /home/<user>/.spamassassin directory are set to 700. This needs to be set to 755 so that Exim can open the user_prefs file in that directory. I noticed this when I did some debugging last night and I made that adjustment and it has been working ever since.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:18 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc