Found a small bug in MailScanner.pm

Holger Gebhard holger at gebhardweb.de
Fri Sep 22 12:34:33 IST 2006


We only bounce spam to internal network...

No worry, i dont want bounce Spams around the world :-)

----- Original Message ----- 
From: "Julian Field" <MailScanner at ecs.soton.ac.uk>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Friday, September 22, 2006 10:50 AM
Subject: Re: Found a small bug in MailScanner.pm


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Well spotted, now fixed.
> 
> Martin Hepworth wrote:
>> 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..
>>
> 
> - -- 
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
> 
> Need help customising MailScanner?
> Contact me!
> Need help fixing or optimising your systems?
> Contact me!
> Need help getting you started solving new requirements from your boss?
> Contact me!
> 
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
> 
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.5.0 (Build 1112)
> Comment: (pgp-secured)
> Charset: ISO-8859-1
> 
> wj8DBQFFE6PNEfZZRxQVtlQRAnRCAJ4oj9dYWdn4UkphKw+FBLoXH6/ajQCfQzZY
> dE5SmANwCnMh5tJUK2yFjpI=
> =bzDi
> -----END PGP SIGNATURE-----
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> For all your IT requirements visit www.transtec.co.uk
> 
> -- 
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
> 
> Before posting, read http://wiki.mailscanner.info/posting
> 
> Support MailScanner development - buy the book off the website! 
>


More information about the MailScanner mailing list