Very slow processing of postfix incoming queue
mark at msapiro.net
Sat Nov 5 18:24:48 UTC 2016
On 11/05/2016 10:00 AM, Polleke wrote:
> As you can in the below logs, processing of the postfix incoming mail
> queue (after mailscanner scanning the messages...) is veeeeerrrrry slow
> It takes almost 4 minutes before the postfix quemanager picks op the
> mail from the incoming queue
This is really a Postfix qmgr question. You might have more success
asking on a Postfix list.
That said, Mailscanner queues the incoming message in Postfix's incoming
queue in the WriteHeader subroutine in MailScanner/PFDiskStore.pm. This
subroutine updates timestamps on the incoming/ and subordinate
directories and file, but it doesn't notify qmgr with an 'I' message
(see man qmgr), but I don't know how to do that.
There is also a potential race in that it updates the timestamps before
placing the file in the queue.
Maybe someone with more knowledge of Postfix internals can help.
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner