Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2023 00:38:51 -0400
From:      "Dan Mahoney (Ports)" <freebsd@gushi.org>
To:        vagabond <vagabond@blackfoot.net>
Cc:        Dewayne <dewayne@heuristicsystems.com.au>, questions@freebsd.org
Subject:   Re: sendmail error, "MX list for mydomain.com points back to server.mydomain.com"
Message-ID:  <15AF7ED7-BBD9-428D-939F-4AA5B349C578@gushi.org>
In-Reply-To: <b427a49877034f7407545744b4446744@blackfoot.net>
References:  <303e35e4d89e68dcd9863239dcda568e@blackfoot.net> <fc362386-aabd-618f-4dcd-9be14dbe89a5@heuristicsystems.com.au> <30b97aa95162c163c1781ba1a0fa8e25@blackfoot.net> <A118A90A-14E6-409B-AC25-FE2704A19741@gushi.org> <b427a49877034f7407545744b4446744@blackfoot.net>

next in thread | previous in thread | raw e-mail | index | archive | help
What you were saying about your ISP having bogus entries is quite =
possibly at least part of the problem.

Sendmail uses real DNS and ignores /etc/hosts (because it needs to look =
up MX records, there are no MX records in /etc/hosts).  If you *really* =
want to cheat that, you can run BIND on localhost and put a zone for =
your own domain answering on localhost, and put 127.0.0.1 in =
/etc/resolv.conf. =20

What is the hostname of your system?

Can you post your full freebsd.mc?

Have you rebuilt your sendmail.cf recently?

-Dan


> On May 18, 2023, at 12:19 AM, vagabond <vagabond@blackfoot.net> wrote:
>=20
>> What do you have in /etc/mail/local-host-names?
>  ns.dreamchaser.org
> it did have
>  ns.dreamchaser.org
>  ns.discoveriesinwood.com
>=20
>> Are you using the stock freebsd.mc or sendmail.mc or whatever came =
with the system?
>=20
> mc file was originally derived from freebsd.mc from 10.x adapted to =
11.3 to 12.3 to 12.4 over the course of upgrades.
> It has:
>  define(`confCW_FILE', `-o /etc/mail/local-host-names')
>=20
>> All variants of domains you accept mail for should be in =
/etc/mail/local-host-names, and if you want to map separately for each =
domain, you need to set up a virtusertable.
>=20
> don't need to map separately.
>=20
> Originally I accepted 2 domains, but to get it running I'm willing to =
change that to only 1,
> dreamchaser.org
> I just got rid of the other entry in local-host-names and bounced =
sendmail;
> the error persists.
> Any other places I could be messed up?
>=20
> Thanks,
>=20
> Gary




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15AF7ED7-BBD9-428D-939F-4AA5B349C578>