Release error

Bugs in eFa 4
Post Reply
goldengate
Posts: 9
Joined: 02 Nov 2020 23:38

Release error

Post by goldengate »

Having a problem with a fresh new install of EFA 4.04 on Rocky 8.9. that I don't see anyone else having posted about.

For completeness, my environment (from largely a script based curl install):
MailWatch Version: 1.2.21
Postfix Version: 3.5.23
MailScanner Version: 5.5.1
ClamAV Version: 0.103.11
SpamAssassin Version: 3.4.6
PHP Version: 7.2.24
MySQL Version: 10.3.39-MariaDB

I have had a few false positives today, but when I go to release through the EFA web interface, am getting the error:

"Release: error (Failed to connect to 127.0.0.1:25 [SMTP: Failed to connect socket: Connection refused (code: -1, response: )])"

Does anyone have thoughts as to what I need to edit in order to release emails?

Thanks in advance.
goldengate
Posts: 9
Joined: 02 Nov 2020 23:38

Re: Release error

Post by goldengate »

OK so with some weekend time to play with the problem, I found the issue was a missing comma in the postfix main.cf inet_interfaces definition between the local host address and the local LAN host address (efa is behind a firewall).

For LAN address YY.YY.YY.YY, the line should look like:

inet_interfaces = YY.YY.YY.YY, 127.0.0.1

A handy command line test for seeing what ports Postfix is listening on is:

netstat -tulpn | grep 25 #you will need to install the net-tools package on Centos/Rocky first

You need to see something like this
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 2596/perl
tcp 0 0 YY.YY.YY.YY:25 0.0.0.0:* LISTEN 4440/master
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 4440/master
tcp6 0 0 :::10000 :::* LISTEN 2596/perl
udp 0 0 0.0.0.0:10000 0.0.0.0:* 2596/perl

for EFA Release to be able to re-insert the released email back into Postfix

I probably typed in the error in my mad middle of the night trial and error effort to get the new system up and running while overcoming the current opendmarc and opendkim services issue until I stumbled onto the discussion here: viewtopic.php?t=4621

Case closed
Post Reply