Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 2016 06:13:45 -0800 (PST)
From:      Anton Shterenlikht <>
Subject:   Re: sendmail config help
Message-ID:  <>
In-Reply-To: <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>From: Matthew Seaman <>
>On 2016/01/05 11:05, Anton Shterenlikht wrote:
>> The best I can get is:
>> 553 5.3.5 config error: mail loops back to me (MX problem?)
>> 554 5.3.5 Local configuration error
>This indicates that although the MX records in the DNS point to your
>machine to handle the e-mail for, the machine's sendmail
>configuration doesn't state that it should handle the final delivery for
> messages.
>You need to add to the file /etc/mail/local-host-names and then
>bounce sendmail.  What this does is add to sendmail's class w --
>the list of addresses which this instance of sendmail 'owns.'

Matthew, thank you, that solved the problem.

>Personally, I'd name the mail server as '' and use an MX
>record to direct the mail to it.  That's pretty standard and it will
>help avoid your messages getting classed as spam.

Sorry, I don't understand this fully.

After I set in MX record,
do I need to change anything on the server side
for this to work?

I naively thought that using makes
sense only if it refers to physically diffent
host than Am I wrong?

Sorry for taking your time.
Perhaps you can point to a good background
reading on this. I'm lost in multitude of
advice on the net.


Want to link to this message? Use this URL: <>