- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing sendmail from my system
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
Discussions
Discussions
Forums
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
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
тАО02-28-2003 05:41 AM
тАО02-28-2003 05:41 AM
Removing sendmail from my system
Does anyone have a comprehensive method of removing sendmail from an HP-UX 11.0 box? Maybe just a list of files that need removing.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 05:58 AM
тАО02-28-2003 05:58 AM
Re: Removing sendmail from my system
rm all of this (assumes 8.9.3)
/etc/mail/*
/etc/rc.config.d/mailservs
/sbin/init.d/sendmail
/sbin/rc1.d/K460sendmail
/sbin/rc2.d/S540sendmail
/usr/bin/mailq
/usr/newconfig/etc/mail/*
/usr/sbin/makemap
/usr/sbin/newaliases
/usr/sbin/sendmail
/usr/sbin/smrsh
/usr/sbin/smtpd
/usr/share/doc/sendmail8-8_delta.txt
/usr/share/doc/sendmail8-9_delta.txt
/usr/share/doc/sendmail8-9_release.txt
/usr/share/lib/sendmail.hf
/usr/share/lib/vacation.def
(depending on version)
rm /usr/contrib/sendmail
SD-UX method (preferred--if you use the former method, the IPD will still think sendmail is installed; future patches will add sendmail back):
#swremove
[pick your core runtime]
[pick Internet Services]
[pick runtime (INETSVCS-RUN)]
select the sendmail related items.
/etc/mail/*
/etc/rc.config.d/mailservs
/sbin/init.d/sendmail
/sbin/rc1.d/K460sendmail
/sbin/rc2.d/S540sendmail
/usr/bin/mailq
/usr/newconfig/etc/mail/*
/usr/sbin/makemap
/usr/sbin/newaliases
/usr/sbin/sendmail
/usr/sbin/smrsh
/usr/sbin/smtpd
/usr/share/doc/sendmail8-8_delta.txt
/usr/share/doc/sendmail8-9_delta.txt
/usr/share/doc/sendmail8-9_release.txt
/usr/share/lib/sendmail.hf
/usr/share/lib/vacation.def
You might consider turning it off instead.
In
/etc/rc.config.d/mailservs
Change
export SENDMAIL_SERVER=1
to
export SENDMAIL_SERVER=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 06:14 AM
тАО02-28-2003 06:14 AM
Re: Removing sendmail from my system
Why you need remove it?
For security reason you can block incoming emails setting "SENDMAIL_SERVER" to 0 (cero) into /etc/rc.config.d/mailservs file.
After this you must stop the sendmail service by:
/sbin/init.d/sendmail stop
When this done your box will be **deaf** for any incoming messages, however you can send emails if your service is appropriately configured. When your sendmail service is not appropriately configured, any outgoing message will be queued in /var/spool/mqueue, for each message you have two files. You could remove them if they are not interesting for you. The correct form of consulting this queue is:
#mailq -v
If in the future you need ativate the sendmail service, you must set firts "SENDMAIL_SERVER" to 1 and then start it:
#/sbin/init.d/sendmail start
After this your sendmail daemon will be listening again for incoming messages.
May this info will be useful for you.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-28-2003 06:37 AM
тАО02-28-2003 06:37 AM
Re: Removing sendmail from my system
1) Edit /etc/rc.config.d/mailservs and replace the "1" with "0"
2) Move the sendmail start command from rc script directory (/sbin/init.d/sendmail) and it's links from /sbin/rcX.d.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 03:36 AM
тАО03-03-2003 03:36 AM
Re: Removing sendmail from my system
The reason behind this, is that we want to remove the version of sendmail that ships with HP-UX and install our own which we've created into a depot. We want to make removal of the previous version part of the pre-install script of our sendmail package that we've created.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2003 04:44 AM
тАО03-03-2003 04:44 AM
Re: Removing sendmail from my system
Whenever I have updated this service in the past (personal experience) I have not needed to delete the previous version. On the contrary, I have always copied the directory "/etc/mail" to maintain the current configuration because the configuration files are updated too, losing your current configuration of parameters. Of couse, the new installed version can include improvements that can require of small configuration tuning (generally the file /etc/mail/sendmail.cf").
Rgds.