Specifically, why is the 'do-not-reply' not matching the one liner?
On 2013-01-13 2:50 PM, Tanstaafl <tan...@li...> wrote:
> Thanks for your help Christian...
>
> On 2013-01-10 12:59 PM, Christian Boltz <pos...@cb...> wrote:
>> You can replace the \s with .* to allow any number of any character,
>
> Tried this, but no luck...
>
>> Again, seeing the mail headers would it make easier to find out how
>> strict the regex can be.)
>
> Again, here is the one-liner that I'm trying to get working:
>
>> elsif (/^from:.*+(bounce|do-not-reply|facebook|linkedin|list-|myspace|twitter)/i) { $logger->debug("Multi-string From header matching $1: $2 found; exiting"); exit (0); }
>
> And here are the full headers for one of these messages that is
> generating an auto-reply that shouldn't (this is our anti-spam
> quarantine message):
>
>> Subject: Maildistiller Quarantine Summary
>> From: "Maildistiller Summary" <do-...@ma...>
>> Date: 2013-01-11 2:06 PM
>> To: cm...@me...
>> Return-Path: <do-...@ma...>
>> X-Original-To: cm...@me...
>> Delivered-To: cm...@me...
>> Received: from relay-eu1.maildistiller.com (relay-eu1.maildistiller.com [5.135.34.120]) by smtp.media-brokers.com (Postfix) with ESMTPS id 3FB5DABDA9C for <cm...@me...>; Fri, 11 Jan 2013 14:06:15 -0500 (EST)
>> Received: from relay-eu1.maildistiller.com (localhost [127.0.0.1]) by
> relay-eu1.maildistiller.com (Mail Distiller ESMTP Server) with ESMTP id
> 673D86005E for <cm...@me...>; Fri, 11 Jan 2013 19:06:14
> +0000 (UTC)
>> Received: from interface1.dco.mdlocal (unknown [10.15.14.61]) by relay-eu1.maildistiller.com (Mail Distiller ESMTP Server) with ESMTP id 6530D6A for <cm...@me...>; Fri, 11 Jan 2013 19:06:14 +0000 (UTC)
>> Received: from localhost (localhost [127.0.0.1]) by interface1.dco.mdlocal (Mail Distiller ESMTP Server) with ESMTP id 5A4D02A1A for <cm...@me...>; Fri, 11 Jan 2013 19:06:14 +0000 (UTC)
>> MIME-Version: 1.0
>> Content-Type: text/html; charset=utf-8
>> Content-Transfer-Encoding: quoted-printable
>> Reply-To: "Maildistiller Summary" <do-...@ma...>
>> Message-ID: <201...@in...local>
|