Page 1 of 1

Mails hang in inbound

Posted: 31 Mar 2016 07:06
by efa_user
Hi,

I got this problem in V 3.0.0.8 and after the update. For an unknown reason suddenly the mails hang in the inbound queue. After a few postfix restarts mails getting delivered.

In the maillog no error that could cause this issue. The only thing I found after the update is:

Mar 30 19:11:02 mx2 postfix[4200]: Postfix is running with backwards-compatible default settings
Mar 30 19:11:02 mx2 postfix[4200]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Mar 30 19:11:02 mx2 postfix[4200]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Mar 30 19:11:02 mx2 postfix/postfix-script[4224]: stopping the Postfix mail system
Mar 30 19:11:02 mx2 postfix/master[664]: terminating on signal 15
Mar 30 19:11:02 mx2 MailScanner[26363]: Requeue: 602B6120157.ACA1F to 7B78C120080
Mar 30 19:11:03 mx2 postfix[4260]: Postfix is running with backwards-compatible default settings
Mar 30 19:11:03 mx2 postfix[4260]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Mar 30 19:11:03 mx2 postfix[4260]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Mar 30 19:11:03 mx2 postfix/postfix-script[4266]: fatal: the Postfix mail system is not running
Mar 30 19:11:03 mx2 postfix[4269]: Postfix is running with backwards-compatible default settings
Mar 30 19:11:03 mx2 postfix[4269]: See http://www.postfix.org/COMPATIBILITY_README.html for details
Mar 30 19:11:03 mx2 postfix[4269]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
Mar 30 19:11:03 mx2 postfix/postfix-script[4341]: starting the Postfix mail system
Mar 30 19:11:03 mx2 postfix/master[4343]: daemon started -- version 3.0.4, configuration /etc/postfix

I wanted to change as described below but in my main.cf file I do not have the postconf compatibility_level option.

Anyone an idea?

Re: Mails hang in inbound

Posted: 01 Apr 2016 17:06
by efa_user
Hi there

And today again.... Mails get suck in the inbound queue and aren't processed until restarting mailscanner and flushing the queue.

What could be wrong?

Re: Mails hang in inbound

Posted: 02 Apr 2016 14:45
by shawniverson
How much memory are you allocating to EFA?

Is mailscanner running or dead when this happens?

Re: Mails hang in inbound

Posted: 02 Apr 2016 14:47
by shawniverson
efa_user wrote:Hi,

I wanted to change as described below but in my main.cf file I do not have the postconf compatibility_level option.

Anyone an idea?
This is normal when moving from Postfix 2x to 3x. You can add this option to main.cf if you are ready to leave compatibility mode. :D

Re: Mails hang in inbound

Posted: 04 Apr 2016 07:02
by efa_user
Hi,

thanks for your answers. But I don't think that it is a memory probl. Here:

Processor: Intel(R) Xeon(R) CPU E5645 @ 2.40GHz, 8 cores
Real memory: 5.71 GB total
Virtual memory : 4 GB total

When testing the services, Mailscanner, Postfix and clamd are running....

> You can add this option to main.cf if you are ready to leave compatibility mode
And where should I put it? Can you paste this please?

Re: Mails hang in inbound

Posted: 04 Apr 2016 13:17
by henk
If you did an upgrade to 3.0.9:

backup your main.cf : cp /etc/postfix/main.cf /etc/postfix/main.cf.copy

checkout the differences: diff /etc/postfix/main.cf /etc/postfix/main.cf.rpmnew

add this to /etc/postfix/main.cf:

compatibility_level = 2

# SMTP UTF8 support (requires EAI support compiled in)
smtputf8_enable = no

meta_directory = /etc/postfix
hlib_directory = no

and reload:
/etc/init.d/postfix reload

Re: Mails hang in inbound

Posted: 06 Apr 2016 13:54
by efa_user
Hi,

thanks for your answer. No idea why mails get suck in the inbound queue and aren't processed until restarting mailscanner and flushing the queue.

Re: Mails hang in inbound

Posted: 08 Apr 2016 20:25
by efa_user
Hi,

hanging again today. So what could be wrong with the EFA?