Hi,

Just finished getting SpamAssassin/Razor working with Courier-MTA,
everything seems to work okay, except my virtual hosting setup seems to
cause problems with user-preferences and the whitelist facility.

My maildirs are stored in /mail/<domain>/<user>/Maildir, and are all owned
by the 'mail' user/group. Incidently, the mail user has homedir '/mail'.

So, I have the 'spamd' daemon running as user 'mail', and I use courier's
filtering capabilities to run all incoming mail through 'spamc'.

My problems come when I try to access files in the User's home
directories, either for a per-user configuration file, or a per-user
whitelist. Basically, 'spamd' tries to write to /mail/.spammassassin/* -
the home directory of the 'mail' user. Im assuming it's looking up its
homedirectory from the password file, and getting the wrong answer.

Courier sets $HOME to the home directory of the recipient, so is there a
way I can get 'spamd' to use that instead?

Thanks,

Bryan.

+-----                      -++-                      -----+
| Bryan Ross                           <[EMAIL PROTECTED]> |
+----------------------------------------------------------+
|Definition of Windows 95: A 32 bit extension and graphical|
| shell for a 16 Bit patch to an 8 Bit OS originally coded |
|  for an 4 Bit CPU, written by a 2-Bit Company that cant  |
|                stand 1 Bit of competition!               |
+----------------------------------------------------------+
|                            http://www.return0.net/bryan/ |
+-----                      -++-                      -----+


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to