Private IP / 25: socket error

6 posts / 0 new
Last post
#1 Thu, 11/05/2015 - 11:37
webwzrd

Private IP / 25: socket error

I've got a server with a shared IP and 4 virtual servers using private IP's. Two of the private IP's are receiving mail fine, but the other two are not and after a few days kick back the error message:

Message will be retried for 1 more day(s)

Technical details of temporary failure: The recipient server did not accept our requests to connect.

I can not figure out the difference between the ones working vs not working. Any advise would be appreciated.

Brian

Virtualmin Pro CentOS 7

Thu, 11/05/2015 - 12:34
andreychek

Howdy,

Hmm, is Postfix listening for connections on that IP?

You can determine that by running this command:

netstat -an | grep :25

Thu, 11/05/2015 - 14:06 (Reply to #2)
webwzrd

Thanks Eric,

No, just the shared and two of four privates.

tcp 0 0 xxx.xxx.47.51:25 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
tcp 0 0 xxx.xxx.47.52:25 0.0.0.0:* LISTEN
tcp 0 0 xxx.xxx.47.50:25 0.0.0.0:* LISTEN

Thu, 11/05/2015 - 15:45
andreychek

Okay, that may be the key then.

We need to get it listening on all the IP's.

That's configurable in /etc/postfix/master.cf.

You'd want to make sure that you have a line that looks something like this, for each of your IP addresses:

127.0.0.1:smtp inet n - - - - smtpd -o smtpd_sasl_auth_enable=yes

Thu, 11/05/2015 - 16:12 (Reply to #4)
webwzrd

Thanks so much Eric, That did it!

I notice the other two that were working were in there of course, but they had their SSL cert info appended to the line. So must be I did something slightly different when I added the cert to those.

Thu, 11/05/2015 - 16:23 (Reply to #5)
webwzrd

To make things more of a mystery, the broken ones show receiving email up to a few days ago and then stopped. Don't know how the master.cf dropped them.

Topic locked