Solved

Control from address on outbound email (AIX)

Posted on 2007-04-04
1
711 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

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In this video we show how to create an email address policy 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 Mail Flow…
Suggested Courses

627 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