Postfix - Log format / Analytics

Postfix - Log format / Analytics

Mail Send

grep status=sent /tmp/maillog

Postfix creates at least two log lines for a piece of outgoing mail it handles: For the receiving and the sending part.

Sep 15 10:30:51 mail postfix/qmgr[1499]: F1FBEC0666: from=<[email protected]>, size=251, nrcpt=1 (queue active)
Sep 15 10:30:51 mail postfix/smtp[25011]: F1FBEC0666: to=<remoteuser@remotedomain>, relay=xxxxxx[yyyyyyy]:25, delay=0.83, delays=0.15/0.01/0.27/0.39, dsn=2.0.0, status=sent (250 Requested mail action okay, completed: id=xxxxxxxxxxx) 
Sep 15 10:30:51 mail postfix/qmgr[1499]: F1FBEC0666: removed

Documentation / Reference







Share this page:
Follow us:
Task Runner