- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mail sent as daemon needs to be as someone else
Operating System - HP-UX
1752402
Members
5555
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-07-2003 12:10 PM
тАО11-07-2003 12:10 PM
Hello -
I have a ksh script running as daemon which sends out email. I'd like the email to be sent as someone else, like appadmin. Can this be done?
(The email is sent as daemon@blah.blah.com. I'd like it to be appadmin@blah.blah.com.)
Thanks!
mike
I have a ksh script running as daemon which sends out email. I'd like the email to be sent as someone else, like appadmin. Can this be done?
(The email is sent as daemon@blah.blah.com. I'd like it to be appadmin@blah.blah.com.)
Thanks!
mike
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2003 12:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2003 02:58 AM
тАО11-09-2003 02:58 AM
Re: Mail sent as daemon needs to be as someone else
Mike,
here are the option to do this.
if you are using sendmail
sendmail -f appadmin@blah.com userid@domain.com
if you are using mailx use the -r option.
or what you can do is
mailx -s "mail from appadmin" userid@domain.com
You will have a subject line in your mail "mail from appadmin"
thanks
Pratyush
here are the option to do this.
if you are using sendmail
sendmail -f appadmin@blah.com userid@domain.com
if you are using mailx use the -r option.
or what you can do is
mailx -s "mail from appadmin" userid@domain.com
You will have a subject line in your mail "mail from appadmin"
thanks
Pratyush
Die Hard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-09-2003 08:32 AM
тАО11-09-2003 08:32 AM
Re: Mail sent as daemon needs to be as someone else
Just as another option, I'm attaching a sendmail script that can do things like attachments(this functionality is easily commented out).
It handles to and from address quite nicely.
SEP
It handles to and from address quite nicely.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP