CentOS6 - Postfix_MailScanner - Messages remaining until postfix restart

Dobril Dobrilov dobril at stanga.net
Sat Jun 6 17:37:51 UTC 2015


Mark , you solve my problem . Thank you very much.

After I comment the line:
hash_queue_names = deferred, defer active bounce flush incoming
and remove these directories 0/ 1/ 2/ 3/ 4/ 5/ 6/ 7/ 8/ 9/ A/ B/ C/ D/ E/ F/ . 

Now everything work perfect.


-----Original Message-----
From: MailScanner [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Mark Sapiro
Sent: Saturday, June 6, 2015 8:25 PM
To: mailscanner at lists.mailscanner.info
Subject: Re: CentOS6 - Postfix_MailScanner - Messages remaining until postfix restart

On 06/06/2015 09:53 AM, Dobril Dobrilov wrote:
> 
> All messages stucks in /var/spool/postfix/incoming

...
> # ls -l /var/spool/postfix/incoming/
> 
> total 68
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:39 0
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:21 1
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:52 2
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:38 3
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:56 4
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:18 5
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:14 6
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:38 7
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:01 8
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:52 9
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:38 A
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:57 B
> 
> drwx------. 2 postfix postfix 4096 Jun  6 19:02 C
> 
> -rwx------. 1 postfix postfix  946 Jun  6 19:39 C096D42C55
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:56 D
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:56 E
> 
> drwx------. 2 postfix postfix 4096 Jun  6 18:56 F
...
> main.cf
...
> hash_queue_names = deferred, defer active bounce flush incoming


This is curious. You are hashing the 'incoming' queue but Mailscanner is queueing the message in /var/spool/postfix/incoming/C096D42C55 instead of /var/spool/postfix/incoming/C/C096D42C55.

I don't know if this is the problem or not, but hashing 'incoming' is thought to be unnecessary, see <http://www.postfix.org/postconf.5.html#hash_queue_names>.

I suggest removing 'incoming' from hash_queue_names or maybe removing hash_queue_names entirely and going with the default and reloading Postfix.

If this fixes the problem, it's probably actually a MailScanner bug.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/listinfo/mailscanner




More information about the MailScanner mailing list