1753407 Members
6950 Online
108793 Solutions
New Discussion юеВ

Re: SMTP disable

 
kcw
Advisor

SMTP disable

Dear all,
Can we disable the SMTP daemon on a HPUX-11.23 system?? many thanks

Best regards
Sunny Lo
4 REPLIES 4
Jeeshan
Honored Contributor

Re: SMTP disable

actually sendmail daemon has start the SMTP. SMTP is a protocol which connects on 25 no. port.

if you stop the sendmail daemon SMTP port will down.
a warrior never quits
Steven E. Protter
Exalted Contributor

Re: SMTP disable

Shalom,

/etc/rc.config.d/mailservs

Change the first variable to 0.

You can still send outbound mail with the sendmail queue runner

sendmail -q

SEP

Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
kcw
Advisor

Re: SMTP disable

Dear SEP,
Thanks for your quick response, so, after setting the value of "SENDMAIL_SERVER" to 0 in "mailservs" config file, can i stop the daemon?? with what command?? many thanks

Best Regards
KCW
Jeeshan
Honored Contributor

Re: SMTP disable

stopping that command in /etc/rc.config.d/mailservs file this will prevent to start the sendmail daemon.

yes, you can now apply the command

#/sbin/init.d/sendmail stop
a warrior never quits