Sendmail - DNS - Relaying stumped...

I am configuring sendmail(oof) for the umpteenth time on an internet server.

My MX record is pointing at mail.my.domain

Sendmail can and does accept mail for mail.my.domain

Sendmail is configured to masquerade as user@my.domain

Sendmail refuses mail sent to user@my.domain

The error message I receive when sending a message to user@my.domain is:
x.w.y.z does not like recipient.
Remote host said: 550 5.7.1 <user@my.domain>... Relaying denied. Proper authentication required.
Giving up on x.w.y.z.

Can someone give me a cluestick?
toddmcguinnessAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
jlevieConnect With a Mentor Commented:
Does /etc/mail/local-host-names on the sendmail server contain:

localhost.localdomain
localdomain
mail.my.domain
my.domain

It sounds line you are missing the domain name in local-host-names.
0
 
toddmcguinnessAuthor Commented:
that works, thanks a mint!  

I did actually test that with no luck earlier today.  I was using Webmin to do the configuration so that might be where things went wacky!

Cheers,
tm
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.