- 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
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
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2008 02:09 AM
09-02-2008 02:09 AM
Re: to change "from" field in mail
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2008 09:16 PM
09-03-2008 09:16 PM
Re: to change "from" field in mail
I am looking for a total solution so that i can use this in my script to automate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2008 02:14 AM
09-04-2008 02:14 AM
Re: to change "from" field in mail
alternates name... Declares a list of alternate names for your login.
When responding to a message, these names are
removed from the list of recipients for the
response. With no arguments, alternates prints
the current list of alternate names. See also
allnet under ENVIRONMENT VARIABLES.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2008 02:20 AM
09-04-2008 02:20 AM
Re: to change "from" field in mail
~b name ... Add name to the blind carbon copy (Bcc) list.
~c name ... Add name to the carbon copy (Cc) list.
~d Read in the dead.letter file. See DEAD (under
ENVIRONMENT VARIABLES) for a description of this
file.
~e Invoke the editor on the partial message. Also
see the EDITOR environment variable description
below.
~f [msglist] Forward the specified messages. The messages are
inserted into the message without alteration.
~h Prompt for Subject line and To, Cc, and Bcc lists.
If the field is displayed with an initial value,
it can be edited as if you had just typed it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2008 02:43 AM
09-04-2008 02:43 AM