- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Changing the from when sending a mail
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
12-17-2002 07:59 AM
12-17-2002 07:59 AM
I'm using mailx to send mail via a script that I'v made... Is it possible to change the "from" for an email address that we specify, cause I don't want that the people who are receiving my mails reply to my "root@hostname.domain.com". See what I mean?? I know we can do it in perl, but I use shell scripts, can we??
Regards
Jonathan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 08:24 AM
12-17-2002 08:24 AM
Re: Changing the from when sending a mail
Kill sendmail
Add the alias in the /etc/mail/aliases.local file
root : whoever@domain.com
vi the /etc/mail/sendmail.cf file
Change
# location of alias file
O AliasFile=/etc/mail/aliases
To
# location of alias file
O AliasFile=/etc/mail/aliases,/etc/mail/aliases.local
Run
sendmail ???bi
sendmail ???bd
newaliases
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 08:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 08:29 AM
12-17-2002 08:29 AM
Re: Changing the from when sending a mail
I see what you mean, but is not really what I want... Maybe I forgot to mention that they could be different "from" at each mail that I send....
Any other idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2002 08:31 AM
12-17-2002 08:31 AM
Re: Changing the from when sending a mail
-r option works fine!!