- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Stopping mail messages to users when root cancels ...
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
06-08-2006 08:07 PM
06-08-2006 08:07 PM
The system is running 11.11 and all the print queues are remote.
Cheers
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 10:38 PM
06-08-2006 10:38 PM
Re: Stopping mail messages to users when root cancels or move a lp request
Posibly the /var fs is full.
Create a independent FS for "spool" and "mail". Samples,
# bdf /var/spool
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvvarspool
16384 2353 13213 15% /var/spool
#bdf /var/mail
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvvarmail
16384 4466 11194 29% /var/mail
rgs,
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 11:09 PM
06-08-2006 11:09 PM
Re: Stopping mail messages to users when root cancels or move a lp request
The users don't need to see these mail messages as they dont have interactive shells, so I would like to stop them being sent if possible.
Cheers
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 11:31 PM
06-08-2006 11:31 PM
Re: Stopping mail messages to users when root cancels or move a lp request
I have tried the following:
User A submits a lp request
Root cancels that request
Result:
root gets a request "printer-22" cancelled, but User A didn't get a message.
Also found:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=973351
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-08-2006 11:44 PM
06-08-2006 11:44 PM
Re: Stopping mail messages to users when root cancels or move a lp request
-m Send a mail message (see mail(1)). to the user after the request has been printed. By default, no mail is sent upon normal completion of the print request.
-w Write a message to the user's terminal after the request has been printed. If the user is not logged in or (for remote printing) if rlpdaemon (see rlpdaemon(1M)) is not running on the user's local system, mail will be sent instead.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 12:04 AM
06-09-2006 12:04 AM
SolutionIf you want to remove all email messages for specific users, you cxan use /etc/mail/aliases and add each user to the alias list like this:
bill : /dev/null
cheryl : /dev/null
jill : /dev/null
tim : /dev/null
...etc...
and now all messages sent to these users will be dumped. Be sure to run the newaliases command after changing the aliases file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:26 AM
06-09-2006 01:26 AM
Re: Stopping mail messages to users when root cancels or move a lp request
Unfortunately I do need to see the output from the at command (bad application programming) so I can't really do mail aliases to /dev/null.
Cheers
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 01:33 AM
06-09-2006 01:33 AM
Re: Stopping mail messages to users when root cancels or move a lp request
After that, they said if it is satisfactory - it should be publicly available end of July.
Let me know if you want to be kept up to date.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-09-2006 03:25 AM
06-09-2006 03:25 AM
Re: Stopping mail messages to users when root cancels or move a lp request
Cheers
Steve