- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stopping Sendmail
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:33 PM
04-03-2002 02:33 PM
Stopping Sendmail
the sendmail (smtp) daemon on HP-UX 11.x
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:38 PM
04-03-2002 02:38 PM
Re: Stopping Sendmail
#cat rc.log |grep -i sednmail
And you will receive something likneOutput from "/sbin/rc2.d/S540sendmail start":
sendmail
#"/sbin/rc2.d/S540sendmail stop
Will stops your sendmial.
To disable sendmail permanantly edit file /etc/rc.config.d/mailservs file and replace
export SENDMAIL_SERVER=1
with
export SENDMAIL_SERVER=0
And at next reboot sendmial will not start.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:39 PM
04-03-2002 02:39 PM
Re: Stopping Sendmail
#try this
ps -ef | grep sendmail| grep -v sendmail
kill -9 PID ( PID being the # in the second column )
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:41 PM
04-03-2002 02:41 PM
Re: Stopping Sendmail
Sorry there is no " at
#/sbin/rc2.d/S540sendmail stop
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:42 PM
04-03-2002 02:42 PM
Re: Stopping Sendmail
you can also turn it off by editing /etc/rc.config.d/mailservs
change export SENDMAIL_SERVER=1 TO BE 0
then do
/sbin/init.d/sendmail stop
this will turn it off permanetly
john.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:43 PM
04-03-2002 02:43 PM
Re: Stopping Sendmail
# /sbin/init.d/sendmail stop
To stop it permanently edit the
/etc/rc.config.d/mailservs file
and make sure that the entry states
export SENDMAIL_SERVER=0
The next time you wish to start you system
sendmail will not start.
HTH
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 02:47 PM
04-03-2002 02:47 PM
Re: Stopping Sendmail
after you have done a sendmail stop you DO NOT need to reboot .
cheers
John.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2002 08:11 PM
04-03-2002 08:11 PM
Re: Stopping Sendmail
To shutdown the sendmail daemon temporarily, do this,
/sbin/init.d/sendmail stop
This will stop the sendmail, but sendmail daemon will start after a reboot. To stop the sendmail permanently, edit the file /etc/rc.config.d/mailservs and change the entry SENDMAIL_SERVER=1 to SENDMAIL_SERVER=0
If you do this sendmail daemon will not be started on reboot.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90685/B2355-90685_top.html&con=/hpux/onlinedocs/B2355-90685/00/00/37-con.html&toc=/hpux/onlinedocs/B2355-90685/00/00/37-toc.html&searchterms=sendmail_server&queryid=20020403-201754
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2002 06:40 PM
04-05-2002 06:40 PM
Re: Stopping Sendmail
You can see the two types as below
1. # ps -ef | grep sendmail
root 922 1 0 Mar 18 ? 0:07 sendmail: accepting connections on port 25
# kill -9 PID#
2. /sbin/init.d/sendmail stop
If you stop sendmail permanently, you have to modify /etc/rc.config.d/mailservs file as below
export SENDMAIL_SERVER=0
Then, though the system re-booting, the sendmail will not start.