port 25 closed

Hi simple newbie question.

Redhat Enterprise 5.
Sendmail latest release.

I know the default port of sendmail uses port 25.
I disable Sendmail and in the Security Level Configuration I have allowed
port 25. When I run nmap it shows that port 25 is closed.
Not sure why.
Can anyone help.
Thank you in advance.
Louis [ Di, 08 Januar 2008 19:20 ] [ ID #1903281 ]

Re: port 25 closed

louis wrote:
> Hi simple newbie question.
>
> Redhat Enterprise 5.
> Sendmail latest release.
>
> I know the default port of sendmail uses port 25.
> I disable Sendmail and in the Security Level Configuration I have allowed
> port 25. When I run nmap it shows that port 25 is closed.

By default sendmail is configured to only listen on 127.0.0.1, check your
/etc/mail/sendmail.mc and do the changes that are told about in the comments
to allow sendmail to listen on other networks.


--

//Aho
Shion [ Di, 08 Januar 2008 19:39 ] [ ID #1903282 ]

Re: port 25 closed

great that helped!!!
Thank you!!!

"J.O. Aho" <user [at] example.net> wrote in message
news:5uhubnF1i5jpvU1 [at] mid.individual.net...
> louis wrote:
>> Hi simple newbie question.
>>
>> Redhat Enterprise 5.
>> Sendmail latest release.
>>
>> I know the default port of sendmail uses port 25.
>> I disable Sendmail and in the Security Level Configuration I have allowed
>> port 25. When I run nmap it shows that port 25 is closed.
>
> By default sendmail is configured to only listen on 127.0.0.1, check your
> /etc/mail/sendmail.mc and do the changes that are told about in the
> comments
> to allow sendmail to listen on other networks.
>
>
> --
>
> //Aho
Louis [ Di, 08 Januar 2008 21:35 ] [ ID #1903283 ]

Re: port 25 closed

I am able to now open port 25. by modifying
sendmail.mc

Find this line in /etc/mail/sendmail.mc:

DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')

and change it to:

DAEMON_OPTIONS(`Port=smtp, Name=MTA')

The default setting restricts sendmail to accepting connections only from
the same host, for security; now it will accept connections from elsewhere.



Now my next problem is Port 25 does not stay open





"J.O. Aho" <user [at] example.net> wrote in message
news:5uhubnF1i5jpvU1 [at] mid.individual.net...
> louis wrote:
>> Hi simple newbie question.
>>
>> Redhat Enterprise 5.
>> Sendmail latest release.
>>
>> I know the default port of sendmail uses port 25.
>> I disable Sendmail and in the Security Level Configuration I have allowed
>> port 25. When I run nmap it shows that port 25 is closed.
>
> By default sendmail is configured to only listen on 127.0.0.1, check your
> /etc/mail/sendmail.mc and do the changes that are told about in the
> comments
> to allow sendmail to listen on other networks.
>
>
> --
>
> //Aho
Louis [ Mi, 09 Januar 2008 16:55 ] [ ID #1904154 ]

Re: port 25 closed

louis wrote:
>> By default sendmail is configured to only listen on 127.0.0.1, check your
>> /etc/mail/sendmail.mc and do the changes that are told about in the
>> comments to allow sendmail to listen on other networks.
>
> I am able to now open port 25. by modifying
> sendmail.mc
> Find this line in /etc/mail/sendmail.mc:
> DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')
> and change it to:
> DAEMON_OPTIONS(`Port=smtp, Name=MTA')
> The default setting restricts sendmail to accepting connections only from
> the same host, for security; now it will accept connections from elsewhere.
>
> Now my next problem is Port 25 does not stay open

I don't have any DEAMON_OPTIONS at all, at it works fine for me, I suggest you
comment out the line completely.

Also check your /var/log/message for some information.

--

//Aho
Shion [ Mi, 09 Januar 2008 17:47 ] [ ID #1904157 ]
Miscellaneous » comp.mail.sendmail » port 25 closed

Vorheriges Thema: sendmail from address setting
Nächstes Thema: Filtering of sender's address or domains - URGENT