postfix-users April 2011 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: amavis / emails in queue?

Re: amavis / emails in queue?

From: Noel Jones <njones_at_nospam>
Date: Wed Apr 13 2011 - 18:48:59 GMT
To: postfix-users@postfix.org

On 4/13/2011 1:02 PM, Jeroen Geilman wrote:
> On 04/13/2011 06:05 PM, Bailey, Damian S. wrote:
>>
>> Hey all,
>>
>> Troubling question.
>>
>> I made some changes to our SA tagging / blocking score this
>> morning, then restarted amavis. I had emails piling up in
>> queue just now, like so:
>>
>> I did a sudo /etc/init.d/amavis restart
>>
>> And by the time I could run sudo qshape s, the queue came
>> up clear.
>>
>> Were these mails stuck in amavis, there were now dropped?
>>
>
> No, they were being deferred by the large ESPs (gmail, hotmail
> et al) as evidenced by the qshape output.

The qshape output shows the final destination, not the next
hop. So it's speculation whether these messages are delayed
waiting for the content filter or by the destination; qshape
output is identical in either case.

One good reason to use multiple postfix instances is to make
it clear where mail is waiting.

You can get part way there with the traditional one instance
by using "-o syslog_name=some_tag" on the various master.cf
listeners and transports.

> These events are all logged by postfix.

Yes, the logs will show where the delay is.

   -- Noel Jones