Found a small bug in MailScanner.pm

Julian Field MailScanner at ecs.soton.ac.uk
Fri Sep 22 09:50:21 IST 2006


-----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



More information about the MailScanner mailing list