On Thu, 28 Aug 2003 13:16:00 -0400 (EDT)
[EMAIL PROTECTED] wrote:
> That is the same problem I have been getting... I can see in the code
> where it is supposed to send the username, but it never does. It seems to
> always use qmailq or qmaild..
<snip>
This is how I modded the script to get it to work:
my ($spamassassin_user) = lc($headers{'RCPTTO'});
#fail safe fall back to qmailq
if($spamassassin_user eq '') {
$spamassassin_user = 'qmailq';
}
&debug("SA: run $spamc_binary $spamc_options -u \"$spamassassin_user\" <
$scandir/$wmaildir/new/$file_id");
open(SA,"$spamc_binary $spamc_options -u \"$spamassassin_user\" <
$scandir/$wmaildir/new/$file_id|")||&tempfail("cannot run $spamc_binary <
$scandir/$wmaildir/new/$file_id - $!");
I think this is pretty much right from the patch, I omitted a snippet of code to check
if the value of $spamassassin_user was an email alias setup by vmailmgr, which I have
stored in MySQL as well.
Josh
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general