-----Original message----- To: [email protected]; From: David F. Skoll <[email protected]> Sent: Thu 28-07-2011 00:57 Subject: Re: [Mimedefang] MIMEDefang 2.72 is Released - md_syslog problem > On Wed, 27 Jul 2011 22:26:44 +1000 > Bill Maidment <[email protected]> wrote: > > > The change to md_syslog has broken graphdefang-0.9. > > This patch (to graphdefang) should fix it. Please let me know. > > Regards, > > David. > > diff --git a/contrib/graphdefang-0.9/event/mimedefang.pl/general > b/contrib/graphdefang-0.9/event/mimedefang.pl/general > index 1a82479..080211b 100644 > --- a/contrib/graphdefang-0.9/event/mimedefang.pl/general > +++ b/contrib/graphdefang-0.9/event/mimedefang.pl/general > @@ -11,7 +11,7 @@ > > $event{'mimedefang.pl'}{'general'} = > sub { > - if ($text =~ m/^MDLOG,\S+?,(\S+?),(\S*?),(\S*?),(.*?),(.*?),(.*)$/ ) { > + if ($text =~ > m/^[A-Za-z0-9]{14}:\s*MDLOG,\S+?,(\S+?),(\S*?),(\S*?),(.*?),(.*?),(.*)$/ ) { > > # get values from regular expression > > _______________________________________________ > NOTE: If there is a disclaimer or other legal boilerplate in the above > message, it is NULL AND VOID. You may ignore it. > > Visit http://www.mimedefang.org and http://www.roaringpenguin.com > MIMEDefang mailing list [email protected] > http://lists.roaringpenguin.com/mailman/listinfo/mimedefang > >
Thanks David. That works great. Cheers Bill Maidment Consultant to Elgas Ltd _______________________________________________ NOTE: If there is a disclaimer or other legal boilerplate in the above message, it is NULL AND VOID. You may ignore it. Visit http://www.mimedefang.org and http://www.roaringpenguin.com MIMEDefang mailing list [email protected] http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

