Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Solved! - Re: [SLE] DNS or firewall?
  • From: John <John@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 19 Apr 2006 19:06:07 +0100
  • Message-id: <44467C0F.9010702@xxxxxxxxxxxxxxxxxxxxx>
Sandy Drobic wrote:

John wrote:

Sandy Drobic wrote:

John wrote:

Hi

I have a dilemma:

- YaST says that my firewall is open for email ('Mail Server' is listed as an allowed service).

- an external check tool (www.checkDNS.net) says that my port 25 is closed.

What can I do to ensure that I can receive email behind my firewall by direct SMTP?

(DNS for my domain is configured and, behind the firewall, responds correctly to 'dig')



Start by checking if your server really is accepting mail from the network.

on your server:
netstat -antp| grep ":25"

Do you see a line like:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 3424/master


OK


Does it really say Listen on 0.0.0.0:25?

Or does it say Listen on 127.0.0.1:25?

Please show output of "postconf -n". If you see the parameter inet_interfaces = localhost or 127.0.0.1, do the following steps:

postconf -e 'inet_interfaces = all'
postfix stop
postfix start

Then check again with postconf -n that inet_interfaces is now set to "all".

The output of "netstat -antp| grep ':25'" should now show exactly this:
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN some-number/master

If so proceed with the next checks.

Sandy


It said 127.0.0.1:25!

I've now worked through your two sets of tests and rechecked against www.checkDNS.net and appear to have a visible mail server.

Many Thanks

John

< Previous Next >
Follow Ups