Alan - you will be a hero to many - there was recently a lot of discussion about this on the spamassassin list. In general it was about the improper lack of SQL support - several people volunteered to start taking this area more seriously - I didn't see you post there - maybe you should?
It could get incorporated into the main distro that way. Thanks! m/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Alan Milligan Sent: Saturday, December 20, 2003 7:54 PM To: [EMAIL PROTECTED] Subject: Re: [courier-users] spamc, virtual accounts and user_prefs -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 OK, Seems SpamAssassin is decidely thick about virtual hosting, and I've had to do something about it. All the --virtual-config-dir stuff seems like a load of shite to me. I have solved this problem by not bothering with any of that, and to instead add use Mail::SpamAssassin::AuthCourier; to my spamd program. Invoking spamc with -u $USER is now sufficient for a full virtual mail account implementation with Courier's authdaemond. I've attached Mail::SpamAssassin::AuthCourier, and it should be placed in your @INC where the rest of the SpamAssassin modules are. This module overrides the getpwnam and getpwuid builtin's and retrieves this from authdaemond instead :) I have noticed that authdaemond is not actually returning the UID from authpam, which makes me wonder where it does get this from ... If anyone finds this useful, please let me know. Cheers, Alan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.3.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org Comment: iD8DBQE/5RlyCfroLk4EZpkRAt4RAJ9yXT4hfOqtntg+Y6+zBNcvvXq2rQCfe96q oInP5PwmCuMc3w+dbVrtWSg= =R6au -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
