stop sendmail srvice


 
Thread Tools Search this Thread
Operating Systems Solaris stop sendmail srvice
# 1  
Old 10-03-2007
stop sendmail srvice

dear all

does any one know how to stop send mail in solaris
# 2  
Old 10-03-2007
As root, issue the following command

/etc/init.d/sendmail stop

To restart it:

/etc/init.d/sendmail start
# 3  
Old 12-28-2008
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 12-28-2008
if Solaris 10, try

1. svcs -a |grep -i sendmail



2. svcadm disable <whatever output you get>
# 5  
Old 12-28-2008
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 11:28 AM..
# 6  
Old 12-28-2008
The command from fpmurhy's post should also work on Linux on a Sun web appliance.
# 7  
Old 12-28-2008
Thank you very much reborg, really appreciate.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Clarifying sendmail configuration - sendmail-client offline

Hi all, I have read about sendmail running as 2 separate process. 1 as a MSP, and the other as the real daemon or MTA. In my current configuration, the sendmail-client is disabled. Both submit.cf and sendmail.cf are left as default untouch I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies

2. UNIX for Advanced & Expert Users

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back. (reason: 530 5.7.1 Authentication required) 530 5.7.1 Authentication required Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies

3. UNIX and Linux Applications

I can't get sendmail to stop considering itself as localhost.localdomain

Hi, I am tearing my hair out, here. We have a CentOS 4.7 box running sendmail 8.13.1. I can't send e-mail out from that box to anywhere not on localhost, as I keep getting the error 'DSN Data Format error', and 'A real domain name is required to send e-mail'. I have edited the... (3 Replies)
Discussion started by: davidm123SED
3 Replies

4. Red Hat

How can I stop this???

I have a user ( and actually me too) getting this messages when the screen is idle, I need help on stopping this messages: 2012 Feb 20 13:30:22 servername Audit: LENGTH: "330" SESSIONID: "339384" ENTRYID: "1" STATEMENT: "1" USERID: "OPS$PT2ADM" USERHOST: "zzzzzzzzzzz" ACTION: "100" RETURNCODE:... (2 Replies)
Discussion started by: 300zxmuro
2 Replies

5. Solaris

stop - A

I am using solaris x86 with a pc keyboard. i am trying to get to the ok prompt i have tried ctrl-break but it is not working , alt-break will not as well. pls any thought? (4 Replies)
Discussion started by: seyiisq
4 Replies

6. Solaris

stop solaris 8 sendmail from running on startup

sorry i got this already... (3 Replies)
Discussion started by: itik
3 Replies

7. Solaris

solaris 8/9 sendmail stop

Hi All, I need to stop sendmail from running on boot-up. How can I do this on Solaris 8 and 9 sparc? Please help and that you in advance. (2 Replies)
Discussion started by: itik
2 Replies

8. UNIX for Advanced & Expert Users

how to stop others users to stop viewing what i am doing ?

Hi , I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing . Now i want to stop others users to know what i am doing accept the root ? can i do this ? thanks (5 Replies)
Discussion started by: mobile01
5 Replies

9. HP-UX

Problem in Hp Unix 11 telnet srvice !!!!

Hi all, I have problem in my HP Unix 11 server . my problem is : When I try to telnet it, it gives me this error " connection refused by remote host" I asked one of my friends he told me you have to start telnet service and he did that by executing command like this " inited -c " or some thing... (1 Reply)
Discussion started by: KSA
1 Replies

10. Filesystems, Disks and Memory

How do I stop this???

Am having trouble trying to stop the process below ... bash# ps -eaf | grep "tape erase" root 29715 1 0 05:16:22 ttyp1 00:00:00 tape erase /dev/rStp0 root 22464 20933 1 03:40:12 ttyp6 00:00:00 grep tape eraseI've tried ... `kill -9 29715` ... but still no luck. Help... (8 Replies)
Discussion started by: Cameron
8 Replies
Login or Register to Ask a Question