- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 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
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
12-21-2004 03:59 AM
12-21-2004 03:59 AM
sendmail
on a HP-UX B.11.11 U 9000/800 I need to disable the mail service, no mail have to be sent out from the server.
I have stopped the sendmail issuing the following command: /sbin/init.d/sendmail stop
When I issued:
mailx -s "TEST" myuser@xxx.xx < /dev/null
I have received the mail but I did not expect to receive that mail !
Why the mail are sent although the sendmail service was down ? I have checked for sendmail process "ps -ef |grep send" but nothing was running.
regards.
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 04:11 AM
12-21-2004 04:11 AM
Re: sendmail
When you send mail, sendmail is invoked briefly to allow the mail to leave the server.
If you don't want any mail to leave the server, you could rename /usr/sbin/sendmail to /usr/sbin/sendmail.orig. Any mail that you try to send now will get moved to a dead.letter file in your home directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 04:34 AM
12-21-2004 04:34 AM
Re: sendmail
It is possible with malicious scripting to force the system to accept mail as well.
The way to avoid this is to remove the binaries or remove execute permissions from them.
Careful though, lots of script programmers and products assume that sendmail is there.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 07:25 PM
12-21-2004 07:25 PM
Re: sendmail
I have decided to comment out the lines related to
# "Smart" relay host (may be null)
inside the sendmail.cf
Having done this, I receive no more mails.
It seems to be enough, doesn't it ?
thanks
Angelo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2004 07:30 PM
12-21-2004 07:30 PM
Re: sendmail
Kaps