Hey list,

I'm using SA in a qmail setup, thus invoking spamc through
qmail-queue-scanner.pl. 

I've been using AWL through MySQL for a few hours now, and it works
great so far. However, it seems that SA doesn't really get the
correct username passed from qmail-queue-scanner.pl - every now and
then, an AWL record gets added with 'vpopmail' as username. 


The script used for parsing the username is as follows:

[snip]
  if ($sa_sql) {
     my ($cmdline_recip);
     ($cmdline_recip=$one_recip)=~s/[EMAIL PROTECTED]/_/gi;
     $cmdline_recip=~/^([EMAIL PROTECTED])$/i;
     $cmdline_recip=tolower($1);
     $spamc_options="$spamc_options -u \"$cmdline_recip\"" if ($cmdline_recip 
ne "");
  }
[/snip]


Anyone else been experiencing this?

Best regards
-- 
Kim Christensen
"Losing all hope is freedom."

Reply via email to