Unix Technical Forum

Prevent "sendmail" from starting on HP-UX 10.20

This is a discussion on Prevent "sendmail" from starting on HP-UX 10.20 within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Greetings, How can I prevent the sendmail daemon from starting on HP-UX 10.20 running on a D-Class server (D330)? ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 06:52 PM
Stew Weis
 
Posts: n/a
Default Prevent "sendmail" from starting on HP-UX 10.20

Greetings,

How can I prevent the sendmail daemon from starting on HP-UX 10.20 running
on a D-Class server (D330)?

Thank you!

Stew Weis



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 06:52 PM
Chuck Slivkoff
 
Posts: n/a
Default Re: Prevent "sendmail" from starting on HP-UX 10.20

On Fri, 04 Feb 2005 11:59:30 +0000, Stew Weis wrote:

> How can I prevent the sendmail daemon from starting on HP-UX 10.20 running
> on a D-Class server (D330)?


It's the same as most services. Look in /etc/rc.config.d/* for a control
variable. Set it to "0" to disable it.

See also: /usr/share/doc/start_up.txt


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 06:52 PM
Christian Maxeiner
 
Posts: n/a
Default Re: Prevent "sendmail" from starting on HP-UX 10.20

Am Fri, 04 Feb 2005 11:59:30 GMT schrieb Stew Weis:

> Greetings,
>
> How can I prevent the sendmail daemon from starting on HP-UX 10.20 running
> on a D-Class server (D330)?
>
> Thank you!
>
> Stew Weis


Set the variable SENDMAIL_SERVER=0 in /etc/rc.config.d/mailservs

Regards

Chris
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 06:53 PM
Stew Weis
 
Posts: n/a
Default Re: Prevent "sendmail" from starting on HP-UX 10.20

Thanks Chris, but I've already done that. It seems that the sendmail daemon
runs anyway, as there are messages in /var/adm/syslog/mail.log like such:

Feb 11 04:27:12 ace sendmail[2593]: EAA02565: EAA02593: DSN: Insufficient
permission: Error 0
Feb 11 04:27:12 ace sendmail[2593]: EAA02593: to=root, delay=00:00:00,
xdelay=00:00:00, mailer=local, stat=Insufficient permission:
or 0
Feb 11 04:27:12 ace sendmail[2593]: EAA02593: EAB02593: return to sender:
Insufficient permission: Error 0
Feb 11 04:27:13 ace sendmail[2593]: EAB02593: to=root, delay=00:00:01,
xdelay=00:00:00, mailer=local, stat=Insufficient permission:
or 0
Feb 11 04:27:13 ace sendmail[2593]: EAA02593: Saved message in
/var/tmp/dead.letter

Any other ideas? If not, thanks anyway!

Stew


"Christian Maxeiner" <realslimshady@arcor.de> wrote in message
news:mi3awhdhk2vh$.1m0c3mzmfuvsl$.dlg@40tude.net.. .
> Am Fri, 04 Feb 2005 11:59:30 GMT schrieb Stew Weis:
>
>> Greetings,
>>
>> How can I prevent the sendmail daemon from starting on HP-UX 10.20
>> running
>> on a D-Class server (D330)?
>>
>> Thank you!
>>
>> Stew Weis

>
> Set the variable SENDMAIL_SERVER=0 in /etc/rc.config.d/mailservs
>
> Regards
>
> Chris



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 06:53 PM
Rick Jones
 
Posts: n/a
Default Re: Prevent "sendmail" from starting on HP-UX 10.20

Stew Weis <stew@montanaace.com> wrote:
> Thanks Chris, but I've already done that. It seems that the
> sendmail daemon runs anyway, as there are messages in
> /var/adm/syslog/mail.log like such:


> Feb 11 04:27:12 ace sendmail[2593]: EAA02565: EAA02593: DSN: Insufficient
> permission: Error 0
> Feb 11 04:27:12 ace sendmail[2593]: EAA02593: to=root, delay=00:00:00,
> xdelay=00:00:00, mailer=local, stat=Insufficient permission:
> or 0
> Feb 11 04:27:12 ace sendmail[2593]: EAA02593: EAB02593: return to sender:
> Insufficient permission: Error 0
> Feb 11 04:27:13 ace sendmail[2593]: EAB02593: to=root, delay=00:00:01,
> xdelay=00:00:00, mailer=local, stat=Insufficient permission:
> or 0
> Feb 11 04:27:13 ace sendmail[2593]: EAA02593: Saved message in
> /var/tmp/dead.letter


I'm not fully up on sendmail logging, but could those be from attempts
to send _outbound_ mail? The rc.config.d stuff (assuming you reboot
and don't see anything listening on port smtp in netstat -a | grep
LISTEN output...) just affects launching sendmail as an _inbound_
daemon.

rick jones
--
denial, anger, bargaining, depression, acceptance, rebirth...
where do you want to be today?
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 06:53 PM
lee.sailer@direcway.com
 
Posts: n/a
Default Re: Prevent "sendmail" from starting on HP-UX 10.20

Stupid question: Did you run the stop script in /sbin/init.d?
Changing the variable alone doesn't stop it.

<hack>You could rename the sendmail executable....</hack>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com