[olug] Prying open port 25

Dave Weis djweis at internetsolver.com
Wed May 31 11:36:13 UTC 2006


Does netstat -a | grep smtp produce output like this:
tcp        0      0 *:smtps                     *:* 
LISTEN
tcp        0      0 *:smtp                      *:* 
LISTEN
Does iptables -L print anything other than the headers?


On Tue, 30 May 2006, Dave Thacker wrote:

> On Monday 29 May 2006 22:31, Dave Weis wrote:
>> If it's running postfix, some distributions tell it to only listen on
>> loopback. If telnet localhost 25 shows signs of life, edit
>> /etc/postfix/main.cf and look for inet_interfaces:
>> inet_interfaces = all
>> #inet_interfaces = $myhostname
>> #inet_interfaces = $myhostname, localhost
>> #inet_interfaces = localhost
>>
>> The last line is what you probably have, the first line is what you need.
>>
>> dave
>>
> Thanks for the pointers.  I found two mentions of inet_interfaces, one near
> the top of main.cf and another down in the body.  I set them both to "all"
> and ran postfix reload.  Still no joy.   I did verify that a telnet to
> localhost 25 will get a response from postifx.   If anyone has another
> thought, please drop me a line.
>
>> On Mon, 29 May 2006, Dave Thacker wrote:
>>> Stock SuSE 10.0 install with Postfix.   I'm working at setting up an
>>> email server.
>>>
>>> I can't telnet to my mail server on port 25 from another box within the
>>> network.  So far I've:
>>> -disabled the firewall
>>> mail:~ # rcSuSEfirewall2 status
>>> Checking the status of SuSEfirewall2
>>> unused
>>>
>>> -found a reference to a setting in /etc/sysconfig/mail.  Set
>>> SMTPD_LISTEN_REMOTE="yes"
>>>
>>> -verified postfix is running and will send local (to the server) mail
>>>
>>> I'm still getting "Connection Refused".  Haven't spotted anything in the
>>> logs. Any ideas?
>>>
>>> Dave
>>>
>>> _______________________________________________
>>> OLUG mailing list
>>> OLUG at olug.org
>>> http://lists.olug.org/mailman/listinfo/olug
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>

-- 
Dave Weis
djweis at internetsolver.com
http://www.internetsolver.com/




More information about the OLUG mailing list