Page 1 of 1

Mails not being delivered

Posted: 26 Nov 2019 11:37
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!

Re: Mails not being delivered

Posted: 26 Nov 2019 12:01
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

Re: Mails not being delivered

Posted: 26 Nov 2019 13:28
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 4456 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 4456 times

Re: Mails not being delivered

Posted: 26 Nov 2019 15:20
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

Re: Mails not being delivered

Posted: 26 Nov 2019 15:39
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.

Re: Mails not being delivered

Posted: 26 Nov 2019 16:32
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

Re: Mails not being delivered

Posted: 26 Nov 2019 19:41
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 4422 times

Re: Mails not being delivered

Posted: 26 Nov 2019 22:45
by shawniverson
Looks like an selinux denial.

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