FedoraCore1 Sendmail Iptables question

Todd toddb at shredsnow.com
Thu Mar 18 17:16:27 UTC 2004


On Thu, 18 Mar 2004, Adam Voigt wrote:

> 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".


That was it. Thanks for the hit with the clue-stick. I appreciate the
help. (I had thought I'd seen a similar issue come up on the list but
could not find it in the archives)

Thanks again.

- Todd

>
>
> 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
>
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>





More information about the users mailing list