Mails not being delivered

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

Mails not being delivered

Post by alexanderbrix » 26 Nov 2019 11:37

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: 401
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails not being delivered

Post by henk » 26 Nov 2019 12:01

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

alexanderbrix
Posts: 17
Joined: 20 Oct 2016 06:09

Re: Mails not being delivered

Post by alexanderbrix » 26 Nov 2019 13:28

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 248 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 248 times

henk
Posts: 401
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails not being delivered

Post by henk » 26 Nov 2019 15:20

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

alexanderbrix
Posts: 17
Joined: 20 Oct 2016 06:09

Re: Mails not being delivered

Post by alexanderbrix » 26 Nov 2019 15:39

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: 401
Joined: 14 Dec 2015 22:16
Location: Netherlands
Contact:

Re: Mails not being delivered

Post by henk » 26 Nov 2019 16:32

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

alexanderbrix
Posts: 17
Joined: 20 Oct 2016 06:09

Re: Mails not being delivered

Post by alexanderbrix » 26 Nov 2019 19:41

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 214 times

User avatar
shawniverson
Posts: 2898
Joined: 13 Jan 2014 23:30
Location: Rushville, Indiana, USA
Contact:

Re: Mails not being delivered

Post by shawniverson » 26 Nov 2019 22:45

Looks like an selinux denial.

see anything in /var/log/audit/audit.log?
Version eFa 4.0.0 now available!

Post Reply