--On Dienstag, 17. Juni 2003 10:17 +0200 Mirko Zeibig
<[EMAIL PROTECTED]> wrote:

> I am running spamc from /etc/courier/maildroprc, having only virtual
> accounts underneath /home/vmail/domain.com/username. Right now I only have
> one pref-file for spamassassin in /home/vmail/.spamassassin/user_prefs, but
> I'd like to have this on a per-virtual-user base.

Run spamassassin in the old way (perl script) which will
always locate the prefs according to $HOME.
 
> I see I could invoke "spamc -u $USER" in maildroprc, however "spamd" uses
> a programm called vuserinfo to get the homedir information. Has anybody a
> better solution than to patch "spamd", maybe using $HOME directly, which is
> set to the right directory already?

spamd has no access to the environment, and spamc no option
to specify the location of user_prefs.
If you really want to hack get spamd to recognize userdb.

Roland



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to