1828490 Members
2724 Online
109978 Solutions
New Discussion

Re: Sendmail domain

 
SOLVED
Go to solution
manny_9
Frequent Advisor

Sendmail domain

Redhat 7.3 sendmail 8.11

Email server ...behind a firewall.

Dns is obtained from another server.

I have confused myself so please be patient!!!

our domain is www.xxxx.net

sendmail is configured to "present system as xxx.net.

the hostname is mail.xxx.net

when users send mail from outlook express the mail reaches it's destination as someone@mail.xxx.net.

before we switched our isp the mail went out as ...someone@xxx.net

i want the mail to be someone@xxx.net.

What have i done wrong?? is the firewall configured wrong...sendmail???

www.dnsreport.com

testing with someone@xxx.net is good.

testing with someone@mail.xxx.net is a no go.

if i am correct ..when users send a email and it goes out with a reply to someone@mail.xxx.net we won't get our mail???

Thanks


4 REPLIES 4
Julio Yamawaki
Esteemed Contributor
Solution

Re: Sendmail domain

Hi,

Check your /etc/mail/sendmail.cf configuration and see the line:
Dj$w.xxx.net
Second, check your DNS (or any other way that you use to resolve name) and verify that you MUST resolve first the name xxx.net and after the name server.xxx.net.
manny_9
Frequent Advisor

Re: Sendmail domain

Thanks Julio!!!!

My sendmail.cf is xxx.net.

"Second, check your DNS (or any other way that you use to resolve name) and verify that you MUST resolve first the name xxx.net and after the name server.xxx.net. "

I believe you are correct!! I will check on Mon. with our provider....we are not hosting are own DNS.

Thanks again!! I can stop second guessing my self!
Steven E. Protter
Exalted Contributor

Re: Sendmail domain

If you have no DJ directive the senmail server uses the hostname of the system.

But.

This is overridden by the DNS setting for the IP address on the public Internet.

But sendmail still says who the mail is from.

This can be set and fine tuned with sendmail macros.

Cwinvestmenttool.com

also see the masquerade as.

See the attached script which among other things builds the sendmail.cf file.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
manny_9
Frequent Advisor

Re: Sendmail domain

Thanks Steven,

Nice script!!!Will give it a try on Mon.