slrtscn.py can't parse maillog correctly

Use this forum for all questions related to bounce management of OpenEMM

Moderator: moderator

speckner
Posts: 1
Joined: Fri May 18, 2007 10:09 pm

slrtscn.py can't parse maillog correctly

Post by speckner »

Hello

seems like slrtscn.py can't read the maillog correctly. it can read it ok until April 24, then start to have "mtch is None for line ..." error on the log. seems like sendmail change its message id format?? We didn't modify any sendmail or openemm setting.

in slrtscn.py file:
parser = sre.compile ('^([a-z]{3} +[0-9]+ [0-9]{2}:[0-9]{2}:[0-9]{2}) +([a-z0-9_]+) +sendmail\\[[0-9]+\\]: *[0-9A-F]{6}([0-9A-Z]{3})[0-9A-F]{7,8}:(.*)$', sre.IGNORECASE)

dcdT375300000002 doesn't match the pattern *[0-9A-F]{6}([0-9A-Z]{3})[0-9A-F]{7,8}

any advice?

following is from maillog
May 18 12:32:45 openemm2 sendmail[3539]: dcdT375300000002: to=<speckner3@mydomain.com>, delay=00:01:21, x
delay=00:00:00, mailer=esmtp, pri=0, relay=mail.atl.mydomain.com. [192.168.4.117], dsn=5.1.1, stat=User unknown

following is from /home/openemm/var/log/20070518-openemm2-slrtscn.log
[18.05.2007 12:32:46] 3406 INFO/main: mtch is None for line: May 18 12:32:45 openemm2 sendmail[3539]: dcdT375300000002: to=<speckner3@mydomain.com>, :01:21, xdelay=00:00:00, mailer=esmtp, pri=0,