- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Stopping mailx
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
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
04-12-2005 12:38 AM
04-12-2005 12:38 AM
Stopping mailx
Is mailx part of sendmail? Can I just stop sendmail and that will turn off mailx?
Any help would be greatly appreciated!
Thanks,
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 12:41 AM
04-12-2005 12:41 AM
Re: Stopping mailx
Yes, you could just stop sendmail but that's going to stop all messages. Couldn't you just comment out the mailx commmands?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 12:48 AM
04-12-2005 12:48 AM
Re: Stopping mailx
A possibility is to create a global variable like MAIL_TARGET and give it the value of your own email address incase of testing and change it to the old email address in case of production. That way you can change it one place in the script.
Hope it helps,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 12:49 AM
04-12-2005 12:49 AM
Re: Stopping mailx
Stopping sendmail will stop all the communication through this machine. So u are sure that no other application uses sendmail, you may stop the sendmail daemon. Else the best thing (if u are unaware) is to COMMENT out the line containing "mailx".
Rgds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:02 AM
04-12-2005 01:02 AM
Re: Stopping mailx
alias mailx="echo mail with parameters $* >> /tmp/mailx.runs"
mailx is not really a component of sendmail (mail transfer agent), but just a small email program (mail user agent), so disabling it by the shell's means should be the easiest solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:05 AM
04-12-2005 01:05 AM
Re: Stopping mailx
Try it:
[root@vpart3 /etc/mail]# /sbin/init.d/sendmail stop
Sendmail pid is 24536
Killing sendmail
Please wait .....
Sendmail killed.
[root@vpart3 /etc/mail]# ps -ef| ux2dos | uuencode bdf.txt|mailx -m -stest hbrown@devnull.com
[root@vpart3 /etc/mail]# ps -ef | grep sendmail
root 24593 2005 1 09:04:42 ttyp3 0:00 grep sendmail
[root@vpart3 /etc/mail]#
live free or die
harry d brown jr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:12 AM
04-12-2005 01:12 AM
Re: Stopping mailx
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2005 01:41 AM
04-12-2005 01:41 AM
Re: Stopping mailx
What are friends for? :-)
live free or die
harry d brown jr