Some guesses below; hopefully an expert will eventually chime in.

On Wed, 2014-03-12 at 06:18:37 -0700, jmct wrote:
> ...
> When I try sending a basic test e-mail through PowerShell using my Postfix
> box as the SMTP server - I'm seeing 20-40+ second delays in the
> /var/log/maillog per e-mail.
> 
> Here is what I see in the logs:
> 
> Mar 12 07:59:36 postfix/smtpd[21189]: connect from unknown[10.1.10.45]
> ...
> Mar 12 07:59:36 postfix/postdrop[21196]: warning: unable to look up
> public/pickup: Permission denied

A permission issue prevents postdrop(1) from notifying the pickup(8)
service of new mail arrival. Try running 'postfix set-permissions' to
fix this.

> Mar 12 07:59:36 postfix/pipe[21192]: 2E69C1E0203: to=<me@workdomain>,
> relay=spamfilter, delay=0.17, delays=0.02/0.02/0/0.13, dsn=2.0.0,
> status=sent (delivered via spamfilter service)
> Mar 12 07:59:36 postfix/qmgr[20944]: 2E69C1E0203: removed

Postfix delivers to the spamfilter relay in < 1s from initial connect,
and removes the message from the queue.

> Mar 12 *07:59:36* spamd[15542]: prefork: child states: II
> Mar 12 *08:00:06* postfix/pickup[20942]: 5B5A81E01ED: uid=5001
> from=<me@workdomain>

During its periodic scan of the "maildrop" queue, pickup(8) sees the new
mail and passes it to cleanup(8), as logged below.

> Mar 12 08:00:06 postfix/cleanup[21191]: 5B5A81E01ED:
> message-id=<20140312130006.5B5A81E01ED@localhost>
> Mar 12 08:00:06 postfix/qmgr[20944]: 5B5A81E01ED: from=<m...@workdomain.com>,
> ... 

-- 
Sahil Tandon

Reply via email to