Re: FedoraCore1 Sendmail Iptables question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxx




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux