Found a small bug in MailScanner.pm

Martin Hepworth martinh at solidstatelogic.com
Fri Sep 22 09:01:54 IST 2006


Holger Gebhard wrote:
> Hi Julian,
> 
> i found a small bug in MailScanner.pm (sub HandleSpamBounce)...
> With the current code no Spambounce can be send... Results in a 
> malformed message ;-)
> 
> Current:
> 
> # Boring untainting again...
> /(.*)/;
> $emailmsg .= MailScanner::Config::DoPercentVars($line) . "\n";
> $line = eval "\"$1\"";
> 
> Must be:
> 
> # Boring untainting again...
> /(.*)/;
> $line = eval "\"$1\"";
> $emailmsg .= MailScanner::Config::DoPercentVars($line) . "\n";
> 
> 
> Regards
> 
> Holger
> 
Holger

ta

Bouncing spam is a 'bad idea' as the from is never correct anyway..

-- 
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************



More information about the MailScanner mailing list