Mails hang in inbound

Report bugs and workarounds
Post Reply
efa_user
Posts: 5
Joined: 31 Mar 2016 06:53

Mails hang in inbound

Post 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?
efa_user
Posts: 5
Joined: 31 Mar 2016 06:53

Re: Mails hang in inbound

Post 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?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Mails hang in inbound

Post by shawniverson »

How much memory are you allocating to EFA?

Is mailscanner running or dead when this happens?
User avatar
shawniverson
Posts: 3783
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Mails hang in inbound

Post 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
efa_user
Posts: 5
Joined: 31 Mar 2016 06:53

Re: Mails hang in inbound

Post 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?
henk
Posts: 518
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails hang in inbound

Post 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
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
efa_user
Posts: 5
Joined: 31 Mar 2016 06:53

Re: Mails hang in inbound

Post 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.
efa_user
Posts: 5
Joined: 31 Mar 2016 06:53

Re: Mails hang in inbound

Post by efa_user »

Hi,

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