Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] DNS or firewall?
  • From: Sandy Drobic <suse-linux-e@xxxxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 19 Apr 2006 17:57:26 +0200
  • Message-id: <44465DE6.9070109@xxxxxxxxxxxxxxxxxxxxxxx>
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


--
List replies only please!
Please address PMs to: news-reply2 (@) japantest (.) homelinux (.) com

< Previous Next >
Follow Ups
References