On Fri, Jul 08, 2011 at 04:37:58PM -0400, 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
> . . .
The dots suggest that there are more rules.
with iptables -vnL you get a better overview and see where it drops.
--
Robert Felber, PGP: D1B2F2E5 http://www.selling-it.de