Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Email name

Status
Not open for further replies.

cchiang12

MIS
Oct 17, 2006
6
0
0
US
When sending emails to the outside world, aix present itself as d_prod@production1.pdc.itercom.org.
This is causing some issue with our e-mail server.
So we need to change the name to d_prod@itercom.org...
Does any one know how this can be accomplished?

Thank you
 
edit your sendmail.cf file (should be in /etc)
Scroll down to the

##################
# local info #
##################

section and look for these lines:

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain
#Dj$w.Foo.COM
^^^^^^^^^^^^^ copy/paste this line

uncomment the copy and change this line so that it looks like this:

Djitercom.org

the Dj are important - dont edit them out. Save your changes and send yourself a test email.

The email you recieve should now have the user it was sent from followed by your preferred domain name - instead of the node and complete domain name.

scott
 
Thank you : )

I had to put a space between DJ and itercom.org (e.g. Dj itercom.org). It works great!!!!
 
ps - if you want to see what your version is and some other info, type this:

/usr/lib/sendmail -d0 -bt < /dev/null

the character after -d in the above is a zero.

You should get output similar to this:

Version AIX5.3/8.11.6p2
Compiled with: _FFR_MILTER LDAPMAP MAP_REGEX LOG MATCHGECOS MIME7TO8
MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
NISPLUS QUEUE SCANF SMTP USERDB XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = somenode
(canonical domain name) $j = somenode.somedomain.com
(subdomain name) $m = somedomain.com
(node name) $k = somenode
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>

Note: you will see your host name and domain in place of somenode and somedomain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top