- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Using /etc/aliases to auto print email
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
тАО09-15-2003 11:33 AM
тАО09-15-2003 11:33 AM
Using /etc/aliases to auto print email
I cannot get it to print. What am I missing? I have restated sendmail after making any changes to aliases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 11:40 AM
тАО09-15-2003 11:40 AM
Re: Using /etc/aliases to auto print email
There must be NO space between the -d & the printer_name - EX:
lp -dprinter1
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 11:43 AM
тАО09-15-2003 11:43 AM
Re: Using /etc/aliases to auto print email
"|/usr/bin/lp -d
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 11:57 AM
тАО09-15-2003 11:57 AM
Re: Using /etc/aliases to auto print email
I get the email correctly in mailbox, but it still "will not" print.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 12:00 PM
тАО09-15-2003 12:00 PM
Re: Using /etc/aliases to auto print email
newaliases
or
sendmail -bi
commands?
Has to be done for *every* change to the aliases files.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 12:23 PM
тАО09-15-2003 12:23 PM
Re: Using /etc/aliases to auto print email
# Local aliases
I get the mail in mail box and can even manually print using print command in elm or mail. But it will not print from aliases?
Any other thoughts?
Thanks for you help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 12:24 PM
тАО09-15-2003 12:24 PM
Re: Using /etc/aliases to auto print email
# Local aliases
I get the mail in mail box and can even manually print using print command in elm or mail. But it will not print from aliases?
Any other thoughts?
Thanks for you help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-15-2003 12:53 PM
тАО09-15-2003 12:53 PM
Re: Using /etc/aliases to auto print email
Well....I think you need whitespace in the line around the colon - try
username : \username,"|/usr/bin/lp -dprinter1"
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 09:00 AM
тАО09-16-2003 09:00 AM
Re: Using /etc/aliases to auto print email
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-16-2003 10:36 AM
тАО09-16-2003 10:36 AM
Re: Using /etc/aliases to auto print email
Set up a .forward file in that user's home dir & make sure the user owns it.
Then in it put what would be on the right side of the aliases file for that user & make sure you remove the user from the aliases file.
Then try.
BTW - Is there anything in the lp logs about these print jobs? Do they even make it to the spooler?
Rgds,
Jeff