Sendmail does two things. If you send it as deamon then it is always
listening on port 25. However when you send a message, your program runs
sendmail and connects to somebody elses port 25 to send it opens
connection sends and closes. If you only regularly poll and dload your
mail from a mail repository you can either run postfix etc on a cron and
connect every so often and dload over a pop connection. Or use sendmail
on a cron and poll every so often. Your sendmail should already be
configured for that. I would not thing that you have an MX record
somewhere pointing to your machine unless your email address includes
your machine name in it. Just run sendmail on cron to poll I do not
remember the options but I think it was -o.
> -----Original Message-----
> From: Bois, Mathieu [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 10, 2000 11:20 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [expert] Listening port for Sendmail
>
>
> I know that port 25 is opened when sendmail is launched with
> option -bd
> (become daemon).
> Maybe without this option or with another option port 25 is closed.
>
> Mathieu
>
> > -----Original Message-----
> > From: R_Yeo [mailto:[EMAIL PROTECTED]]
> > Sent: 10 January 2000 15:54
> > To: [EMAIL PROTECTED]
> > Subject: [expert] Listening port for Sendmail
> >
> >
> > Hi,
> > At work, we have a Class C address with it's own mail server.
> > My Linux box is configured with sendmail to reply to mail
> addressed to
> > me via my ISP. Corporate IT is clamping down on smtp
> servers due to
> > spammers. Is there anyway to close down my smtp port (25)
> so that it
> > will not be listening or only listening to the local host?
> Corporate
> > IT does a periodic scan of the port to look out for unauthorised
> > servers.
> > OTOH, if someone has a suggestion for qmail or postfix, I'm all
> > ears.
> > -- Ronald
> >
>