Mails not being delivered

Bugs in eFa 4
Post Reply
alexanderbrix
Posts: 35
Joined: 20 Oct 2016 06:09

Mails not being delivered

Post by alexanderbrix »

Hello,

I just installed a new CentOS 7 VM on our Microsoft Hyper-V Server and I installed the new EFA.
I opened two Putty windows to configure the new EFA like the old one. I also opened MailScanner.conf and reconfigured our needed values.
After doing that I shut down the old EFA server and I set the IP adress of the new EFA server to the same as the old one.
But when I log in to the EFA web console I can see there are no mails being delivered. The list is empty.
Could you guys please help me what I did wrong? Have I forgotten anything?

Thanks in advance!
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails not being delivered

Post by henk »

alexanderbrix wrote: 26 Nov 2019 11:37 Could you guys please help me what I did wrong? Have I forgotten anything?
To quote pdwalker:
When you are describing your problem, you may think you understand your problem correctly and you may think you are giving the right information necessary to solve your problem. If that were true, then you wouldn't be having a problem.
You need to provide some details. The logfiles in /var/log are the best place to look first.
You mention you reconfigured MailScanner.conf manualy. On the Gui you can do lint checks. Try that and look in the logfiles for error messages
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
alexanderbrix
Posts: 35
Joined: 20 Oct 2016 06:09

Re: Mails not being delivered

Post by alexanderbrix »

Hello,
I checked the log directory and all I could find was this in "messages" file:
2019-11-26 14_24_41-Window.png
2019-11-26 14_24_41-Window.png (20.07 KiB) Viewed 4452 times
The Mail Scanner lint test in the GUI got me this:
2019-11-26 14_26_16-Window.png
2019-11-26 14_26_16-Window.png (69.59 KiB) Viewed 4452 times
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails not being delivered

Post by henk »

Ho Alexanderbrix,
Seems unbound has issues (DNS).

Can you

Code: Select all

ping google.com
from within efa?
Check your IP and gateway settings ( compair it with the old efa).

to search this forum on unbound related issues, enter this in google :

Code: Select all

site:forum.efa-project.org unbound
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
alexanderbrix
Posts: 35
Joined: 20 Oct 2016 06:09

Re: Mails not being delivered

Post by alexanderbrix »

yes I can ping google.com and both DNS servers are listed in "cat /etc/unbound/conf.d/forwarders.conf". All IP settings are correct - compared everything with the old EFA.

As soon as I shut down the new EFA and boot the old one, all new mails are displayed in the GUI again.
henk
Posts: 517
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails not being delivered

Post by henk »

Both DNS servers?

Do you have recursion enabled?

Code: Select all

unbound-control list_forwards
Can you check the next post about unbound.
viewtopic.php?t=2567
“We are stuck with technology when what we really want is just stuff that works.” -Douglas Adams
alexanderbrix
Posts: 35
Joined: 20 Oct 2016 06:09

Re: Mails not being delivered

Post by alexanderbrix »

Yes, we have 2 DNS-Servers in our company.

Recursion is disabled - it was disabled on the old EFA too.

unbound-control list_forwards gives me:
Error setting up SSL_CTX client key and cert
Bildschirmfoto 2019-11-26 um 20.42.48.png
Bildschirmfoto 2019-11-26 um 20.42.48.png (137.23 KiB) Viewed 4418 times
User avatar
shawniverson
Posts: 3644
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: Mails not being delivered

Post by shawniverson »

Looks like an selinux denial.

see anything in /var/log/audit/audit.log?
Post Reply