Hallo,
On Wed, Jul 09, 2008 at 09:03:46AM +0200, Ronny Wagner wrote:
> Jul 9 07:06:29 hostname postfix/spawn[28926]: warning: /usr/bin/perl: process id 14425: command time limit exceeded
> Jul 9 07:02:51 hostname postfix/smtpd[24620]: lost connection after DATA (0 bytes) from h77-94-111-53.ufamts.ru[77.94.111.53]
postfix/spawn\[[0-9]+\]: warning: /usr/bin/perl: process id [0-9]+: command time limit exceeded
postfix/smtpd\[[0-9]+\]: lost connection after DATA \(0 bytes\) from
Das sollte funktionieren. Zu deinen Versuchen:
Ich würde mir den ganzen Anfang sparen, also Datum, Hostname etc. Damit
gewinnst du nicht viel... :)
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/spawn\[[0-9]+\]: warning: /usr/bin/perl: process id$
Dieser kann nicht klappen, weil du die Zeile mit $ beendest. Es kommt
aber ja nocht die Prozess-ID und weiterer Text.
> ^\w{3} [ :0-9]{11} nog-web postfix/spawn\[[0-9]+\]: warning: /usr/bin/perl: process id \[0-9]+\: command time limit exceeded
Hier hast du einen Doppelpunkt escapet.
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[[:digit:]]+\]: lost connection after DATA (0 bytes) from$
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: lost connection after DATA (0 bytes) from$
Ohne weiter zu gucken... das $ am Ende :)
> ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ postfix/smtpd\[[0-9]+\]: lost connection after [[:upper:]]+( \([0-9]+ bytes\))? from [._[:alnum :]-]+\[(unknown|[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\]$
Viel zu kompliziert. :)
Cheers,
Hauke
Attachment:
signature.asc
Description: Digital signature