Re: .mailfilter file stopped working with 2.7.1

Doug Barton <[email protected]> Thu, 16 Jan 2014 12:06:24 -0800
Newsgroups gmane.mail.maildrop
Message-ID <[email protected]>
On 01/16/2014 06:05 AM, Nerijus Baliunas wrote:
> On Thu, 16 Jan 2014 13:42:11 +0200 Nerijus Baliunas <[email protected]> wrote:
>
>> Does not work:
>> if (/^From: *"System Anti-Virus Administrator" <[email protected]>/)
>> to "./Maildir/.avirus"
>>
>> Works:
>> if (/^From: *System Anti-Virus Administrator <[email protected]>/)
>> to "./Maildir/.avirus"
>
> And with 2.6.0 it's vice versa - works with quotes and does not work without.
> The raw header line in the message is:
>
> From: "System Anti-Virus Administrator" <[email protected]>

Did you try
if (/^From: \"System Anti-Virus Administrator\" <[email protected]>/) to 
"./Maildir/.avirus"

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk