Postfix LogParser脚本
我寻找一个脚本/工具或其他解决scheme,能够通过大量的mail.log文件和grep了某些用户的活动。 当前(甚至是最新的2016 postfix)日志文件的问题,无论什么时候进入的条目,例如: Nov 30 11:58:21 mail postfix/qmgr[28062]: 4CCA2480E55: from=<[email protected]>, size=36461, nrcpt=1 (queue active) Nov 30 11:58:21 mail postfix/smtpd[5994]: connect from localhost[127.0.0.1] Nov 30 11:58:21 mail postfix/smtpd[4815]: disconnect from mail.company.com[1.2.3.4] Nov 30 11:58:21 mail postfix/smtpd[5994]: 8536A480E57: client=localhost[127.0.0.1] Nov 30 11:58:21 mail postfix/cleanup[4225]: 8536A480E57: message-id=<[email protected]> Nov 30 11:58:21 mail postfix/qmgr[28062]: 8536A480E57: from=<[email protected]>, size=35298, nrcpt=1 (queue active) […]