HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=16)
-   -   Spamassassin .user_prefs file keeps getting overwritten (http://www.howtoforge.com/forums/showthread.php?t=29337)

jspierre 8th December 2008 18:37

Spamassassin .user_prefs file keeps getting overwritten
 
I've searched everywhere on this forum but can't find an answer to this.

If a user adds some tests (for example, "score SUBJECT_DRUG_GAP_C 5.0") to their .user_prefs file in their home directory (/var/www/web1/user/nameofuser/.user_prefs), the next time a change is made to that user's ISPConfig email settings through the control panel, those custom settings are overwritten with the default template.

What can I do to stop this overwriting from happening? Should these custom settings be put somewhere else?

I'm completely out of ideas here - any help you could give would be much appreciated!

till 8th December 2008 18:59

The .user_prefs shall not be edited manually in a ispconfig installation.

jspierre 8th December 2008 20:17

So then...
 
I guess this begs the question, where should these settings be stored?

If globally, where is the correct place to put additional "score" tests?

jspierre 8th December 2008 22:24

I found it
 
OK, I did some more searching and my last question has been answered before. But, for those who need the same info:

To specify additional tests in Spamassassin to be added to every mail user's spamassassin profile (you cannot make settings per-user, only globally), edit the file:

/root/ispconfig/isp/conf/user_prefs.master

I tried this and it has worked like a charm!


All times are GMT +2. The time now is 04:50.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.