On 12/16/2015 3:55 AM, Baptiste Lhoste wrote: > > But our deferred queue contains almost 100 000 emails : > qshape -s deferred | head > T 5 10 20 40 80 160 320 640 > 1280 1280+ > TOTAL 98743 0 0 0 0 0 8233 20178 39254 > 31078 0 > domain.aaa 98741 0 0 0 0 0 8233 20177 39254 > 31077 0 > domain.bbb 2 0 0 0 0 0 0 1 0 > 1 0 > > I thought that when the active queue was empty, postfix moves an > email from the incoming queue and one email from the deferred queue > to the active queue, and with that the deferred queue should be > decreasing. > > Why it is not the case ?
Details will be in the log file. My guess is the destination is marked "dead" for some temporary error, with a few retries at $maximal_backoff_time (default 4000s) to see if the destination will accept mail. > > Second question, the domain.aaa and domain.bbb returned by the > command on the deferred queue correspond to the sender domain or the > recipient domain ? recipient. -- Noel Jones