Solved

Control from address on outbound email (AIX)

Posted on 2007-04-04
1
710 Views
Last Modified: 2013-12-17
I need to see if it's possible to change the From address on email that is sent from our AIX 5.3 server.  We have an application that sends out email and the from address is "username@<servername>.domainname.com".  Is there a way in sendmail to change it so the from address is "username@domainname.com".  Also is their a way control the "username" part of the address?  If the process is run by "root" then the email come from "root@<servername>.domainname.com".
0
Comment
Question by:lwrogers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
anfi earned 500 total points
ID: 18859735
Your guestion is addressed by two Sendmail's FAQ entries:
  http://www.sendmail.org/faq/section3.html#3.2
    How do I rewrite my From: lines to read ``First_Last@My.Domain''' or ``Different_Name@My.Domain''?
  http://www.sendmail.org/faq/section3.html#3.1
    How do I make all my addresses appear to be from a single host?

Both redirect to http://www.sendmail.org/m4/masquerading.html

In short: use FEATURE(`genericstable ') with:
* FEATURE(`masquerade_envelope') if you  want to rewrite also envelope sender address
* FEATURE(`allmasquerade') if you want to rewrite also addresses in "recipient headers" (To:, Cc:)
By default sendmail rewrites *ONLY* "header sender" addresses
0

Featured Post

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft has released various new features which are capable of handling various tasks. One of these tasks is ‘Migration from pop3 to Exchange Server’. Pop3 data stores various data along mailboxes like contacts, tasks, etc. So, it becomes the need…
Granting full access permission allows users to access mailboxes present in their database. By giving full access permission one can open and read the content of any mailbox but cannot send emails from that mailbox.
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question