- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change the senders name and address when using mai...
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
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
тАО06-14-2004 06:35 AM
тАО06-14-2004 06:35 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 06:40 AM
тАО06-14-2004 06:40 AM
Re: Change the senders name and address when using mailx
mailx -x root@company.com -s "whatever" email_address.
email_address will see it as sent by root@company.com.
Another way is to set DM macro in sendmail.cf. Check DM macro in sendmail.cf file
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 06:44 AM
тАО06-14-2004 06:44 AM
Re: Change the senders name and address when using mailx
# Masquerade as (DM): #
# #
# If you wish to have mail appear to be from some host or location #
# other than the loacl host, set macro M to the name you wish to #
# masquerade as.
# who I masquerade as (null for no masquerading) (see also $=M)
DMcompany.com
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 06:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2004 06:50 AM
тАО06-14-2004 06:50 AM
Re: Change the senders name and address when using mailx
Remember that your emails may sometimes produce MAILER-DAEMON error replies: ensure that a mailbox for root@company.com exists before doing your modifications. That will keep postmaster@company.com happier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2004 02:51 AM
тАО06-15-2004 02:51 AM
Re: Change the senders name and address when using mailx
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-15-2004 03:01 AM
тАО06-15-2004 03:01 AM
Re: Change the senders name and address when using mailx
Just to clarify the problem you have, though you might have enabled "DM" macro to masquerade your domain in sendmail.cf file, users specified under "CE" macro will be excluded from it. So, you will need to take out "root" from CE macro if you intend to send the mail as root@yourdomain.com instead of root@yoursystem.yourdomain.com. But taking out root isn't a good idea if you are receiving mails through EMS or other customized notifications from the systems.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-16-2004 02:47 AM
тАО06-16-2004 02:47 AM
Re: Change the senders name and address when using mailx
I actually didn't make any changes to the sendmail.cf file. I just used the command line suggestion and incorporated it into the scripts that needed it. It seems to have fixed my issue.
Thanks for your suggestion though, I will document it for future reference.
Andrew