I am working on a vpopmail patch to SA. My first go at it on Friday looks good. When it is ready I will release it to the list in a few days. Basically you pass the email address using "spamc -u [EMAIL PROTECTED]" (like the SQL lookup feature) and spamd will look up userinfo from vpopmail. Normally spamd looks for user_prefs for users listed in /etc/passwd. Of course with vpopmail this doesn't work. I have patched spamd to look for user prefs in the users vpopmail homedir. When I get closer I will forward the patch to you and perhaps you can test it?
--- Ed. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > Gawain > Sent: Sunday, March 31, 2002 6:04 PM > To: [EMAIL PROTECTED] > Subject: [SAtalk] Choosing a prefs file on the command line > > > I've been testing spamassassin on our Yellow Dog Linux box running > Qmail, Maildrop and Vpopmail. I've set it up to use a configuration > file in the user's Maildir and it's being called via Maildrop's > xfilter command like this: > > STD_PATH="/home/vpopmail/domains/$DOMAIN/$USER/Maildir" > > xfilter "/usr/local/bin/spamassassin -p $STD_PATH/spamassassin.conf -P" > > if ( /^X-Spam-Flag: YES/ ) > { > to "$STD_PATH/.Trash/" > } > > Spamassassin works so well that I'd like to make it available to > other users via spamd/spamc. Can spamc run with a user prefs file > specified on the command line? If not, is that something that could > be considered for a future version? > > Or... Is there a better way to do what I'm trying to accomplish > without making things too complex from an administration point of > view? > > Gawain > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk