Disabling Sendmail for Outside World...

I am on a freeBSD 4.11-STABLE VPS with Sendmail 8.13.3 pre-installed. All my efforts to use DaemonPortOptions in sendmail.cf to disable access to sendmail for all accept localhost are going waste. The specific portion of sendmail.cf in /etc/mail looked like:

# SMTP daemon options
O DaemonPortOptions=Name=IPv4, Family=inet
O DaemonPortOptions=Name=IPv6, Family=inet6, Modifiers=O
O DaemonPortOptions=Port=587, Name=MSA, M=E

I changed it to:

# SMTP daemon options
O DaemonPortOptions=Port=smtp, Addr=127.0.0.1, Name=MTA

and restarted sendmail services using "make restart" in /etc/mail. Still when I am telnetting the server from my home PC I am getting a welcome message from sendmail. What am I doing wrong? Please help.

Regards
AKB

 

 

 

 

Top