Although I use qmail/vpopmail/mysql etc. I call spamc from procmail, don't use the qmail-scanner-queue, so my method is a little different than yours but it may help, the spamc call uses the -u username option...

eg. users procmailrc file:


LOGFILE=/var/log/procmail VERBOSE=ON

### Spam Assassin
:0fw
| /usr/bin/spamc -u username_goes_here -f

:0e
{
   EXITCODE=$?
}

### Toss Spam into a Folder
:0:
* ^Subject:.*\*\*\*\*SPAM\*\*\*\*
./username_goes_here/Maildir/

### Deliver the rest into Maildir normally
:0
*
./username_goes_here/Maildir/


Posts wrote:
Hi,
I've got SA + vpopmail + mysql. I am trying to get the mysql userpref functionality working. I verified that @GLOBAL works from mysql but the individual userpref's do not.
I added a little debug routine inside of qmail-scanner-queue.pl and I can see that the email recipient username and domain are not available. The variables I do see are (HOSTNAME, PATH, PROTO, PWD, QMAILQUEUE, SHLVL, TCPLOCALHOST, TCPLOCALIP, TCPLOCALPORT, TCPREMOTEIP, TCPREMOTEPORT).
init.d/spamassassin:
OPTIONS="-d -a -v -x -q -u vpopmail -H /home/vpopmail/"
Any tips on how to get the virtual username to qmail-scanner-queue.pl is appreciated.
Thanks,
Kawika Ohumukini
2-Tier Software, Inc.



------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to