Operating System - HP-UX
1753360 Members
4775 Online
108792 Solutions
New Discussion юеВ

sendmail, pop and MX record

 
SOLVED
Go to solution
nikolaii
Advisor

sendmail, pop and MX record

Hi,
now I have installed and configured sendmail and popper; but when I try to send mail from a Window$ client, the mail is not deliver to the receiver. I think this is a dns/sendmail configuration error, cause when I look in the postmaster's mail server box; there are error messages, which says : MX configuration problem, address user@mydomain.domain.fr points back to mailhost.mydomain.domain.fr !
Well, the mail server is the DNS too, and maybe must I put special options in the sendmail.cf, don't I ?
Nico
4 REPLIES 4
Steven E. Protter
Exalted Contributor

Re: sendmail, pop and MX record

More details would be quite useful.

A look at the DNS database would help.

I'd like to know if the MX record points to the IP address of the mail servrver.

Post the output from these commands.

nslookup serverhostname
nslookup mxrecord ip addresss

Can you ping all the IP addressed defined above from the windows workstation.

Do you have mail relay enabled in the /etc/mail/access file?

You may have a problem with /etc/aliases

It could be an inconsistent entry there, routing certain mail in a circular direction.

Here is a little diagnostic command you can run on the mail server and see what's going on.
/usr/sbin/sendmail -v -d8.99 -d38.99 mailaddress@yourdomain.fr

This will give us sufficient diagnosis to proceed.

P

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
W.C. Epperson
Trusted Contributor
Solution

Re: sendmail, pop and MX record

This is usually because the lowest preference (most preferred) MX record points to a server that does not have the domain configured for local delivery (sendmail.cf Cw macro).
"I have great faith in fools; self-confidence, my friends call it." --Poe
nikolaii
Advisor

Re: sendmail, pop and MX record

Sorry, but I'm at the moment not at work; so I can't post the output of the commands mentioned above. Will try tomorrow.
Good night.
Nico
nikolaii
Advisor

Re: sendmail, pop and MX record

Hello,
It runs !!!
It was just a problem with the Cw option (or macro) in sendmail.cf which was not correctly set.(was "localhost")
Many thanks.
Nico