Postfix 2.3 and MailScanner - SOLVED

Holger Gebhard holger at gebhardweb.de
Wed Aug 30 12:03:45 IST 2006


Yes, this change backwards compatible...
Tested with some messages on Postfix Version 2.2.10.
 
With Postfix 2.2.x the regex only match "R" and "O" recipients.
There are no "A" lines that could match...

----- Original Message ----- 
From: "Mike Jakubik" <mikej at rogers.com>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Tuesday, August 29, 2006 11:35 PM
Subject: Re: Postfix 2.3 and MailScanner - SOLVED


> Holger Gebhard wrote:
>> My Problem with Postfix 2.3.x and MailScanner is solved...
>>
> 
> ...
> 
>> To remove the new line i changed the regular expression and made a bit 
>> more robust...
>>
>> next unless $message->{metadata}[$linenum] =~ 
>> /^[ARO].+@(?:\w|-|\.)+\.\w{2,})/;
>>
>> Work fine for two days now with no more warnings in log :-)
> 
> Is this change backwards compatible with postfix 2.2?
> 
> 
> -- 
> 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