Change Email name
Change Email name
(OP)
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
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
RE: Change Email name
Regards,
Chuck
RE: Change Email name
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
RE: Change Email name
I had to put a space between DJ and itercom.org (e.g. Dj itercom.org). It works great!!!!
RE: Change Email name
/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.