bmSearch  0.0.4
Namespaces | Variables
regex.py File Reference

Namespaces

 inc.regex
 

Variables

 inc.regex.amavisLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(amavis)\[\d+\]: \((\d+)-(\d+)\) (?P<status>.*}), .*, Message-ID: <(?P<messageid>.*)>, .*")
 Amavis Jul 19 15:10:13 uruviel amavis[17590]: (17590-18) Blocked BANNED (.exe,. More...
 
 inc.regex.bodyDateLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/cleanup)\[(\d+)\]: (?P<queueid>.*): warning.*: bodyDate=(?P<bodyDate>.*)")
 
 inc.regex.bodyFromLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/cleanup)\[(\d+)\]: (?P<queueid>.*): warning.*: bodyFrom=(?P<bodyFrom>.*)")
 
 inc.regex.bodySubjectLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/cleanup)\[(\d+)\]: (?P<queueid>.*): warning.*: bodySubject=(?P<bodySubject>.*)")
 
 inc.regex.cleanupLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/cleanup)\[(\d+)\]: (?P<queueid>.*): message-id=(?P<messageid>.*)")
 Get message-id on receiving message Aug 22 20:09:21 galadriel postfix/cleanup[11415]: 6C54B9E433D: message-id=20090.nosp@m.8222.nosp@m.00921.nosp@m..9q4.nosp@m.fg64u.nosp@m.0wg4.nosp@m.swkw@.nosp@m.mail.nosp@m..mcla.nosp@m.boss.nosp@m.e.fr More...
 
 inc.regex.cyrusDelivered = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(cyrus/lmtp.*)\[(\d+)\]: Delivered: (?P<messageid>.*) to mailbox: (?P<domain>.*)\!user.(?P<user>.*)")
 
 inc.regex.filenameLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/cleanup)\[(\d+)\]: (?P<queueid>.*): warning.*: ThisFileName=(?P<filename>.*)")
 Get filename on trace line (cf postfix "main.cf" file) Sep 5 10:16:10 galadriel postfix/cleanup[1302]: 6B1E32A87CE: warning: header Content-Type: image/png;? name="pascal.salaun_nbAtt_.png" from unknown[192.168.1.4]; \ from=frodo.nosp@m.n.sa.nosp@m.quet@.nosp@m.lapo.nosp@m.ste.n.nosp@m.et to=frodo.nosp@m.n.sa.nosp@m.quet@.nosp@m.lapo.nosp@m.ste.n.nosp@m.et proto=ESMTP helo=<[192.168.1.4]>: ThisFileName=pascal.salaun_nbAtt_.png. More...
 
 inc.regex.klmsLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) .* KLMS: (?P<status>.*): message-id=(?P<messageid>.*): relay.* av-status=(?P<avstatus>.*), ap-status=(?P<apstatus>.*), as-status=(?P<asstatus>.*),.*")
 KLMS Jun 8 10:30:00 toto4 KLMS: clean: message-id="D2D75237B513CA42B5E59766133F55003F60695C@ex-mbx1.siege.grouponet.com": relay-ip="212.99.25.65": action="Skipped": rules="1": size=3458: mail-from="technique@toto.com": rcpt-to="pascal.salaun@mclabosse.fr": av-status="Clean", ap-status="Clean", as-status="Clean", cf-status="NotScanned, disabled by settings". More...
 
 inc.regex.qmgrLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/qmgr)\[(\d+)\]: (?P<queueid>.*): from=<(?P<from>.*)>, size=(?P<size>\d+), nrcpt=(?P<nrcpt>\d+).*")
 Get originator, volume and number of recip Aug 22 15:38:15 galadriel postfix/qmgr[4158]: 7E83C9E4318: from=frodo.nosp@m.n.sa.nosp@m.quet@.nosp@m.lapo.nosp@m.ste.n.nosp@m.et, size=1767, nrcpt=1 (queue active) More...
 
 inc.regex.smtpdLine = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/smtpd)\[(\d+)\]: (?P<queueid>.*): client=(?P<server>.*)(?:(, .*)+)?")
 Get smtpd queueid on connection Aug 22 15:38:15 galadriel postfix/smtpd[29211]: 7E83C9E4318: client=. More...
 
 inc.regex.smtpLineDSN2 = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/)(.*)\[(\d+)\]: (?P<queueid>.*): to=<(?P<recip>.*?)(?:>, orig_to=<(?P<orig>.*?))?>, (.*)status=sent.*")
 Get list of destinators (dsn=2. More...
 
 inc.regex.smtpLineDSN4 = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/)(.*)\[(\d+)\]: (?P<queueid>.*): to=<(?P<recip>.*?)(?:>, orig_to=<(?P<orig>.*?))?>, (relay=.*)?(.*)status=deferred.*")
 Get list of deferred destinator (dsn=4. More...
 
 inc.regex.smtpLineDSN5 = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/)(.*)\[(\d+)\]: (?P<queueid>.*): to=<(?P<recip>.*?)(?:>, orig_to=<(?P<orig>.*?))?>, (relay=.*)?(.*)status=bounced.*")
 Get list of deferred destinator (dsn=5. More...
 
 inc.regex.smtpRemoved = re.compile(r"(?P<date>.{6}) (?P<hour>.{8}) (.*)(postfix/qmgr)\[(\d+)\]: (?P<queueid>.*): removed")
 Get smtpd queueid before disconnection (file removed from spool) Apr 30 00:07:56 uruviel postfix/qmgr[4321]: 5141E341A1B: removed. More...