see comments below.

2010/12/24 1:16, Victor Duchovni Wrote:
On Fri, Dec 24, 2010 at 01:07:58AM +0800, Yaoxing wrote:
Waste of time. Post NON-VERBOSE LOGGING by smtp(8) and qmgr(8).

        logfiles=/some/where
        egrep 'postfix/(qmgr|smtp)\[' $logfiles | tail -100
Dec 23 11:23:25 e postfix/qmgr[29972]: 3C15BFB9143: removed
Dec 23 11:23:25 e postfix/qmgr[29972]: EB0E829E9CBC: from=<n...@e.xxx.com>, size=18376, nrcpt=1 (queue active) Dec 23 11:23:27 e postfix/smtp[30439]: 88B5B2F385D0: to=<fun3...@freenet.de>, relay=127.0.0.1[127.0.0.1]:10024, conn_use=7, delay=410207, delays=364344/45849/0/13, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=30461-01-7, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 722BA2988573)
Dec 23 11:23:27 e postfix/qmgr[29972]: 88B5B2F385D0: removed
Dec 23 11:23:27 e postfix/qmgr[29972]: CCB172D690D7: from=<n...@e.xxx.com>, size=45424, nrcpt=1 (queue active)
Also post any signs of trouble:
        
        egrep ': (error|fatal|panic): ' $logfiles | tail -100
nothing
And potential trouble:

        egrep ': warning: ' $logfiles | tail -20
Dec 23 11:24:28 e postfix/qmgr[29972]: warning: mail for [127.0.0.1]:10024 is using up 20000 of 20000 active queue entries Dec 23 11:24:28 e postfix/qmgr[29972]: warning: you may need to reduce smtp-amavis connect and helo timeouts Dec 23 11:24:28 e postfix/qmgr[29972]: warning: so that Postfix quickly skips unavailable hosts Dec 23 11:24:28 e postfix/qmgr[29972]: warning: you may need to increase the main.cf minimal_backoff_time and maximal_backoff_time Dec 23 11:24:28 e postfix/qmgr[29972]: warning: so that Postfix wastes less time on undeliverable mail Dec 23 11:24:28 e postfix/qmgr[29972]: warning: you may need to increase the master.cf smtp-amavis process limit Dec 23 11:24:28 e postfix/qmgr[29972]: warning: please avoid flushing the whole queue when you have Dec 23 11:24:28 e postfix/qmgr[29972]: warning: lots of deferred mail, that is bad for performance Dec 23 11:24:28 e postfix/qmgr[29972]: warning: to turn off these warnings specify: qmgr_clog_warn_time = 0

Reply via email to