Link to home
Start Free TrialLog in
Avatar of ksbunger1
ksbunger1Flag for United States of America

asked on

Hostname diffficulty

I am attempting to get a fax to e-mail software using sendmail ans the e-mail cliet to show that is came from a specific domain name. I changed the hostname to the name I wanted it to show up as and now instead of fax@localhost.localdomain it shows fax@70.43.18.146.nw.nuvox.net.
The mail log shows ctladdr_<fax@70.43.18.14.6.nw.nuvox.net>

My /etc/hosts file looks like this

127.0.0.1         XXXXXXXX.com                    XXXXXXXXX
64.202.166.12  XXXXXXXX.com                    64.202.166.12

What do I need to do to get he email reciient to see fax@xxxxxxxxx.com
Avatar of paullamhkg
paullamhkg

try change the entry in sendmail.cf as below

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

# my LDAP cluster
# need to set this before any LDAP lookups are done (including classes)
#D{sendmailMTACluster}$m

Cwyourdomain.com
# file containing names of hosts for which we receive email
Fw/etc/mail/local-host-names

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

# host/domain names ending with a token in class P are canonical
CP.

# "Smart" relay host (may be null)
DSservername.yourdomain.com

after change restart the sendmail service and try again
ASKER CERTIFIED SOLUTION
Avatar of jar3817
jar3817

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial