Solved

Control from address on outbound email (AIX)

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Email signatures have numerous marketing benefits. Here are 8 top reasons to turn your email signature into a marketing channel.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now