At 08:04 PM 8/14/2003 +0200, Hub Dohnmen wrote:
I am running RedHat 7.2 with Spamassassin installed thru RPMs.
I have also integrated the exiscan-patch into Exim.

Can I change the path of the user_prefs files in a cfg-file?

The default of the file is the home-drectory of the user. I want to use the /home/mail/$user dir .

It's not really possible to do what you want in a config file.. even if there was a "user_prefs_path" option in the configfile, that would only allow it to be set to _one_ directory for everyone, which kind of defeats the purpose.


This is because SpamAssassin doesn't have any mechanisms for inserting usernames into paths.

Right now home directories aren't declared as anything like "/home/$user/.spamassassin/ ".. they are declared as ~/.spamassassin/ and the OS resolves ~ to the current user's home directory for spamassassin. This is why root's home directory works, even though it's not in /home.

However if you're using spamassassin, not spamc, you can use the -p command line parameter to specify where user_prefs is.



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to