On 2011-07-08 22:43, Jeffrey Starin wrote:
On 7/8/2011 4:39 PM, Jeroen Geilman wrote:
On 2011-07-08 22:37, Jeffrey Starin wrote:
On 7/8/2011 4:21 PM, Jeroen Geilman wrote:
On 2011-07-08 21:06, Jeffrey Starin wrote:
When I turn off the firewall (which I am loath to do) to my VPS I am able to use the command smtp_bind_address just fine.

Otherwise, with firewall turned on, I am getting these time out errors in my maillog files:

Jul 7 13:00:34 who postfix/smtp[40187]: connect to 127.0.0.1[127.0.0.1]: Connection timed out (port 10027)

You will have to allow access from localhost to port 10027 on localhost.

--
J.


The following is in there. I'm certainly no iptables expert but don't the following rules cover that?

Chain INPUT (policy ACCEPT):
. . .
ACCEPT     all  --  localhost.localdomain  anywhere
. . .

and in Chain OUTPUT (policy ACCEPT):
. . .
ACCEPT     all  --  anywhere             localhost.localdomain
. . .

That depends entirely on what localhost.localdomain stands for.

DNS names have no place in iptables rules - they slow it to a crawl, for one thing.

--
J.


more /etc/hosts:

127.0.0.1 localhost.localdomain localhost
the_ip_address_listed_in_smpt_bind_address the_TLD the_host_name

I would think that would work but it's not. . .

You originally stated that it works when you disable iptables.

This pretty much defines the parameters of the problem - it's limited to iptables.

--
J.

Reply via email to