FedoraCore1 Sendmail Iptables question
Adam Voigt
adam at kotisprop.com
Thu Mar 18 17:33:29 UTC 2004
Did you edit your /etc/mail/sendmail.mc? Specifically the line:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
You need to remove the Addr=127.0.0.1 portion, or sendmail will only
listen on localhost.
After you make the change, you need to do a "service sendmail restart".
On Thu, 2004-03-18 at 12:00, Todd wrote:
> Greetings.
>
> I am setting up a server that will be public IP facing and would like to
> ensure that the only ports accessible to the public are: ssh, http, and
> smtp.
>
> I have the following rules set for the ACCEPTS:
>
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:smtp
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:http
> ACCEPT tcp -- anywhere anywhere state NEW tcp
> dpt:ssh
>
> but a nmap scan of the server shows that port 25 is closed:
>
> 22/tcp open ssh
> 25/tcp closed smtp
> 80/tcp open http
>
> Any assistance would be greatly appreciated.
>
> Thanks.
>
> - Todd
--
Adam Voigt
adam at kotisprop.com
More information about the fedora-list
mailing list