Hi Jason:
We're having a bit of trouble with qmail-scanner (1.20) recognizing multiple recipients and sending the correct username into spamc.
Here's an example - we sent an email to '[EMAIL PROTECTED],[EMAIL PROTECTED]' using pine.
You have some code at around line 873:
if ( ($returnpath=$env_returnpath) =~ s/^F(.*)$// ) { $returnpath=$1; ($recips=$env_recips) =~ s/^T//; $recips =~ /^(.*)\0+$/; $recips=$1; $recips =~ s/\0+$//g; #Keep a note of the NULL-separated addresses $trecips=$recips; $one_recip=$trecips if ($trecips !~ /\0T/); $recips =~ s/\0T/\,/g;
}
We put in some debugging code and when entering spamc here's what the variables are:
[EMAIL PROTECTED]@showcast.com [EMAIL PROTECTED],[EMAIL PROTECTED] [EMAIL PROTECTED]@showcast.com one_recip= cmdline_recip=
is 'one_recip' and 'cmdline_recip' supposed to be null in the case of multiple addresses?
That causes spamc use the default local.cf
TIA.
Best Regards,
Jeff Koch, Intersessions
------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click _______________________________________________ Qmail-scanner-general mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general