- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- to change "from" field in 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
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
тАО08-28-2008 05:43 AM
тАО08-28-2008 05:43 AM
to change "from" field in mail
I am using linux system. i want to send email from different user for example:- suppose i have logged in as user "xyz@
Can anybody guide me with detailed steps as i have very few knpwledge regarding sendmail. Please consider that i do have root previleges.
Regards,
Kumar Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 05:48 AM
тАО08-28-2008 05:48 AM
Re: to change "from" field in mail
We can send mail as if it is comming from a different domain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 07:46 AM
тАО08-28-2008 07:46 AM
Re: to change "from" field in mail
It's a pretty common requirement. A google search for "address rewriting", "genericstable", and your distribution will probably provide some examples you can copy and modify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 08:33 AM
тАО08-28-2008 08:33 AM
Re: to change "from" field in mail
man mailx
This might get it out the door in a simple fast, correct way.
Otherwise you are looking at http://sendmail.org and learning sendmail the hard way.
Either /etc/aliases or /etc/mail/sendmail.mc genericstable and virtusertable.
Take a look here for how to compile a sendmail.cf file from a sendmail.mc file on HP-UX
http://www.hpux.ws/buildmail.hpux.text
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 12:09 PM
тАО08-28-2008 12:09 PM
Re: to change "from" field in mail
# who I masquerade as (null for no masquerading) (see also $=M)
DMabc@company.com
and edit according. I thing you will have to stop and restart sendmail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-28-2008 06:35 PM
тАО08-28-2008 06:35 PM
Re: to change "from" field in mail
mailx -r me@abcxyz.com -s "testing return" somebody@mycomputer.com < /some_file
mailx is standard on HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 05:30 AM
тАО08-29-2008 05:30 AM
Re: to change "from" field in mail
Can any one tell me the location or keyword which need to be changed in sendmail.cf file or you can suggest me chenges ( if i need to include any line) in sendmail.mc file and guide me with the steps to map this file.
Regards,
Kumar Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 08:50 AM
тАО08-29-2008 08:50 AM
Re: to change "from" field in mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-29-2008 04:50 PM
тАО08-29-2008 04:50 PM
Re: to change "from" field in mail
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2008 04:46 AM
тАО09-01-2008 04:46 AM
Re: to change "from" field in mail
One more thing, can't i use "-f" option with mail or mailx command? i tried but got error (like use -c -s -b option).
Regards,
Kumar Nishant