MailScanner 4.77.3 fails to scan some messages

Julian Field MailScanner at ecs.soton.ac.uk
Fri May 15 10:12:48 IST 2009



On 14/05/2009 17:19, Mark Sapiro wrote:
> Julian Field wrote:
>    
>> On 11/05/2009 23:32, Mark Sapiro wrote:
>>      
>>> Mark Sapiro wrote:
>>>
>>> [...]
>>>
>>>        
>>>> Now I see the above analysis is probably wrong. I just received another
>>>> unscanned message. Headers are attached as scanned2.txt and
>>>> unscanned2.txt. Here again, I was able to get the message to be
>>>> scanned by removing a Received: header, but the header I removed
>>>> doesn't have any 'special' IP address in it.
>>>>
>>>>          
>>> Further information. I replaced Postfix.pm with the one from 4.76.24
>>> and the problem is gone.
>>>
>>>        
>> Thanks for that info, it greatly helped. Fixed in 4.77.4 which I have
>> just released.
>>      
>
> The fix in 4.77.4 goes too far. With that fix, my scan messages rules
> like
>
> # localhost
> From: 127.0.0.1 no
> # sbh16.songbird.com
> From: 72.52.113.16 no
>
> are not effective, and all messages are scanned.
>
> Note I have
>
> Read IP Address From Received Header = no
>
> in MailScanner.conf
>    
I've re-written the relevant chunk of code to make it a whole lot 
simpler. Please try the attached (unzipped) in 
/usr/lib/MailScanner/MailScanner. Don't forget to restart MailScanner 
after inserting the file!

Jules

-- 
Julian Field MEng CITP CEng
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
Follow me at twitter.com/JulesFM and twitter.com/MailScanner


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Postfix.pm.zip
Type: application/x-zip-compressed
Size: 18680 bytes
Desc: not available
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090515/a059173f/Postfix.pm.bin


More information about the MailScanner mailing list