Open DavidGoodwin opened 1 year ago
for:
Sep 22 04:04:15 mail postfix/cleanup[50522]: QueueID: message-id=<MsgID>
Sep 22 04:04:15 mail postfix/qmgr[861]: QueueID: from=<user@test.ro>, size=7028, nrcpt=1 (queue active)
Sep 22 04:04:15 mail postfix/local[50524]: QueueID: to=<user@test.ro>, relay=local, delay=0.12, delays=0.12/0/0/0, dsn=2.0.0, status=sent
Sep 22 04:04:15 mail postfix/qmgr[861]: QueueID: removed
output:
*************************** 1. row ***************************
id: 681
month: Sep
day: 22
hour: 04
mail_to: user
mail_to_domain: test.ro
mail_from: user
mail_from_domain: test.ro
status: sent
msgid: MsgID
any chance of a unit test or perhaps documentation showing how a semi-standard postfix maillog gets broken up into database record(s)?
e.g. given something like :
it would produce a log message(s) like X and Y ...