> stop sendmail srvice | Unix Linux Forums | Solaris

  Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

stop sendmail srvice

Solaris


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 10-03-2007
murad.jaber murad.jaber is offline
Registered User
 
Join Date: Mar 2007
Last Activity: 11 March 2008, 7:53 AM EDT
Posts: 51
Thanks: 0
Thanked 0 Times in 0 Posts
stop sendmail srvice

dear all

does any one know how to stop send mail in solaris
Sponsored Links
    #2  
Old Unix and Linux 10-03-2007
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 Posts
As root, issue the following command

/etc/init.d/sendmail stop

To restart it:

/etc/init.d/sendmail start
Sponsored Links
    #3  
Old Unix and Linux 12-28-2008
rolandk rolandk is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 15 May 2009, 2:11 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
command not found

I tried to stop sendmail (/etc/rc.d/init.d) but I recieve the message command not found. What am I doeing wrong (shell login with root/su)
    #4  
Old Unix and Linux 12-28-2008
Sun Fire's Unix or Linux Image
Sun Fire Sun Fire is offline
Registered User
 
Join Date: Apr 2008
Last Activity: 14 June 2013, 7:12 AM EDT
Location: EMEA region
Posts: 148
Thanks: 13
Thanked 1 Time in 1 Post
if Solaris 10, try

1. svcs -a |grep -i sendmail



2. svcadm disable <whatever output you get>
Sponsored Links
    #5  
Old Unix and Linux 12-28-2008
rolandk rolandk is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 15 May 2009, 2:11 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you very much for your answer and attention. I checked the version with uname and I was surprised to see that I have Linux 2.4. I thought I have solaris 9. I have to stop the sendmail and delete some mails in the queue and restart it. Thank you in advance for the support.

Last edited by rolandk; 12-28-2008 at 10:28 AM..
Sponsored Links
    #6  
Old Unix and Linux 12-28-2008
reborg's Unix or Linux Image
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 12 Times in 11 Posts
The command from fpmurhy's post should also work on Linux on a Sun web appliance.
Sponsored Links
    #7  
Old Unix and Linux 12-28-2008
rolandk rolandk is offline
Registered User
 
Join Date: Dec 2008
Last Activity: 15 May 2009, 2:11 AM EDT
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Thank you very much reborg, really appreciate.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
stop solaris 8 sendmail from running on startup itik Solaris 3 12-04-2008 01:57 PM
solaris 8/9 sendmail stop itik Solaris 2 10-27-2008 01:49 PM
how to stop others users to stop viewing what i am doing ? mobile01 UNIX for Advanced & Expert Users 5 12-04-2006 07:37 AM
Problem in Hp Unix 11 telnet srvice !!!! KSA HP-UX 1 06-09-2006 08:52 AM
Stop a SAS job cube UNIX for Dummies Questions & Answers 1 05-02-2002 11:13 AM



All times are GMT -4. The time now is 12:33 PM.