MailScanner 4.77.3 fails to scan some messages

Mark Sapiro mark at msapiro.net
Fri May 15 16:06:13 IST 2009


On Fri, May 15, 2009 at 10:12:48AM +0100, Julian Field wrote:
> 
> 
> 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!


I have installed the Postfix.pm from the attached zip and so far it
seems to be working.  I.e., I tested a few mails and they were all
scanned or not as expected.

-- 
Mark Sapiro mark at msapiro net       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list