[Mimedefang] Using graphdefang
Stefano McGhee
SMcGhee at ARCweb.com
Thu Jan 2 15:30:01 EST 2003
Syn uw,
What kind of data is in that little nugget of brackets? It it the
same or variable? If it's the same, I can probably point you in the
direction of some code to add to the file to help it work on your system
that I received from the developer to help out on a different issue I was
having. If it's variable, you may be still able to adapt the file.
Cheers,
Stefano
> >your choosing ;) that look like this in the beginning:
>
> >Sep 28 21:55:50 westover mimedefang.pl[16803]:
> >MDLOG,g8T2th86016917,mail_out...etc, etc.
>
> >With this regex
>
> >if (/^(\S+\s+\d+\s+\d+:\d+:\d+) (\S+ \S+\[\d+\]):
> >MDLOG,(\S+?),(\S+?),(\S*?),(\S*?),(.*?),(.*?),(.*)$/ ) { #
> >It may be that the extra data in your line, namely:
>
> >[ID 702911 local5.info]
>
> and have some regexp knowledge, you are right this field is
> too much and
> that's Solaris syslog which adds this, on Linux you won't see
> that extra
> So I think I will need to go and modify graphdefanglib.pl to
> make it detect
> the OS and if it's Solaris then it will use another regexp syntax.
More information about the MIMEDefang
mailing list