- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- email from cancelled print jobs
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
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
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
тАО08-07-2002 06:28 AM
тАО08-07-2002 06:28 AM
email from cancelled print jobs
At times we have to cancel a large number of jobs in a print queue (network printers). The mail bombs the owner (which forwards to a list of people) with "cancelled print job" messages. Is there any way to safely turn this off?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 06:53 AM
тАО08-07-2002 06:53 AM
Re: email from cancelled print jobs
# strings /usr/bin/cancel|grep mail
you'll see that the "mail" program is called within the "cancel". The only thing I can think of is to filter the messages on the receipient side. We use "procmail" to filter a lot of such email so that they would not fill up the mailbox.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 08:52 AM
тАО08-07-2002 08:52 AM
Re: email from cancelled print jobs
# cp -p /usr/bin/mail /usr/bin/mail.save
# echo "exit 0" > /usr/bin/mail
#
# cp -p /usr/bin/mail.save /usr/bin/mail
Most users use mailx for sending mails, so maybe no one would be affected by that work-around. Any way, you should be fast in doing so. Create a script that cancels all the relevant print jobs, in order to have a short period of time when /usr/bin/mail is changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 09:39 AM
тАО08-07-2002 09:39 AM
Re: email from cancelled print jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 10:26 AM
тАО08-07-2002 10:26 AM
Re: email from cancelled print jobs
HTH
mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2002 12:28 PM
тАО08-07-2002 12:28 PM
Re: email from cancelled print jobs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 01:39 AM
тАО08-08-2002 01:39 AM
Re: email from cancelled print jobs
You could edit /usr/bin/cancel to call your own (dummy) program instead of /usr/bin/mail. You will have to edit 'in place', i.e. your new path should be the same length or less than /usr/bin/mail. A very simple 'binary editor' can be realized with "vis -n", your favorite text editor and "inv -n".
I call this a hack instead of a solution, because of the above limitations and the fact that you have to redo this if /usr/bin/cancel is replaced by a newer version.
I did a quick search and found a late 2001 response from Bill Hassell saying this is a known, but not formally reported problem and advising to file an enhancement request. (Sorry, no URL. The ITRC search engine and I are not the best of friends, because I always only get *one* chance to look at *one* found document.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-08-2002 03:07 AM
тАО08-08-2002 03:07 AM
Re: email from cancelled print jobs
ER# 5003416875 "add option to cancel(1) so that no mail is sent if cancelled by root" and was reviewed/worked on as recently as 02/12/2002. No ETA on its release as of yet.
We have a "SR Notify Database" that can keep track of the SR/ER and your contact information, so if you want to be notified when the release is fixed it would be best to log a support case so that we can add you to the database.
Cheryl