Re: File count mismatch in spool directories

2015-03-24 Thread Shawn Heisey
On 3/23/2015 9:40 AM, Viktor Dukhovni wrote: The extra files are not a problem. Don't count files in defer. If you're using long queue-ids, and your clock is not prone to moving backwards, you can automate removal of defer files that are older than some reasonable multiple of the

Re: File count mismatch in spool directories

2015-03-24 Thread Noel Jones
On 3/24/2015 12:55 AM, Shawn Heisey wrote: On 3/23/2015 9:40 AM, Viktor Dukhovni wrote: The extra files are not a problem. Don't count files in defer. If you're using long queue-ids, and your clock is not prone to moving backwards, you can automate removal of defer files that are older than

File count mismatch in spool directories

2015-03-23 Thread Shawn Heisey
I installed a monitor for the postfix queue directories to catch queue buildup problems before they become critical and cause mail delays of several hours. We've had problems with sudden email storms from misconfigured internal systems ... when you suddenly get 2 new messages in the queue,

Re: File count mismatch in spool directories

2015-03-23 Thread Viktor Dukhovni
On Mon, Mar 23, 2015 at 08:41:04AM -0600, Shawn Heisey wrote: root@nexus1:~# find /var/spool/postfix/defer -type f | wc -l 711 root@nexus1:~# find /var/spool/postfix/deferred -type f | wc -l 162 I *think* that what I can do is gather the queue ID numbers for each of those 162 messages