From nobody Sat May 20 17:03:12 2023 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QNqm233DKz4CHmS for ; Sat, 20 May 2023 17:03:14 +0000 (UTC) (envelope-from vagabond@blackfoot.net) Received: from mx2.blackfoot.net (mx2.blackfoot.net [216.14.232.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mx2.blackfoot.net", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QNqm14QQpz3Kxm for ; Sat, 20 May 2023 17:03:13 +0000 (UTC) (envelope-from vagabond@blackfoot.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blackfoot.net header.s=ew header.b=B3q9l5ri; spf=pass (mx1.freebsd.org: domain of vagabond@blackfoot.net designates 216.14.232.11 as permitted sender) smtp.mailfrom=vagabond@blackfoot.net; dmarc=none Received: from bmfe2.blackfoot.net ([66.109.128.162]) by mx2.blackfoot.net ({0885e9ce-1b01-11e7-852e-37eff1d936ea}) via TCP (outbound) with ESMTP id 20230520170312069_0000 for ; Sat, 20 May 2023 11:03:12 -0600 X-RC-FROM: X-RC-RCPT: Received: from webmail.blackfoot.net (unknown [192.168.100.133]) by bmfe2.blackfoot.net (Postfix) with ESMTP id 93CEF8062C for ; Sat, 20 May 2023 11:03:11 -0600 (MDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Date: Sat, 20 May 2023 10:03:12 -0700 From: vagabond To: questions@freebsd.org Subject: Re: sendmail error, "MX list for mydomain.com points back to server.mydomain.com" In-Reply-To: <339ea89805a607fd0c31c6bf6e9080f1@blackfoot.net> References: <15AF7ED7-BBD9-428D-939F-4AA5B349C578@gushi.org> <66db9ba3bd66fcc56affdbf7a2621021@blackfoot.net> <2f8bca59462afe206043bea73241bbf2@blackfoot.net> <3da26eb675ecd5d10947fb53fcf3524a@blackfoot.net> <6068541D-A81B-45F0-B961-FD5CD6969FA0@gushi.org> <3d6bvtk7qc2iqhkjcjamxvv27a2zoe3oz2574incudld4bvlub@emxmu4uu7rfn> <339ea89805a607fd0c31c6bf6e9080f1@blackfoot.net> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <1d9377bfb30cd94b3b3f346dd86bc2e0@blackfoot.net> X-Sender: vagabond@blackfoot.net Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-MAG-OUTBOUND: blackfoot.redcondor.net@66.109.128.162/32 DKIM-Signature: a=rsa-sha256; b=B3q9l5rin1AIUO6aAexId2QTHXSsuvGzGgB9f+6C46M7JjKApVizJXwr8uA6UhzpI1rtpCWzJNL9HDd7ZAKCKDSraIvk2gxpuoDiD2V4LUZ3lnPTHur48Otxs+ssmkliCjRSx1JHUrhbw5BjM5gq8e5/Cx8owOXMnJd1mQWjKicisueSyvdK2foys10DVUJbfZ2aCNpZmrdc2SfzOkC4jsH8tgO5TRSdgsdqv7liTRWunL0Of2Qs79dbI3NNlZ8R4+BX7/DWhAsYjHVcT3eJ2HlHDBwl1dantdHUCsNRst+/iQoVh48ERKm9KbfzS1wwgUBJSjcs2PGkH0BY2WvzQQ==; s=ew; c=relaxed/relaxed; d=blackfoot.net; v=1; bh=inznLLtguQJF0+9zqUAAe8snaC2cmgIuQmmgOs8WOYY=; h=from:to:message-id; X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; R_SPF_ALLOW(-0.20)[+ptr]; R_DKIM_ALLOW(-0.20)[blackfoot.net:s=ew]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[blackfoot.net:+]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[blackfoot.net]; ARC_NA(0.00)[]; ASN(0.00)[asn:21947, ipnet:216.14.224.0/19, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QNqm14QQpz3Kxm X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N I'm going to try installing sendmail from ports, as it's a newer version, and will be easier to poke around in. But first, a sanity check. It's been a while since I've needed to build ports; been using pkgs. When I built the sendmail port, it built 60+ other ports, which I assumed were things already installed in some version for the sendmail that came with the system. I "think" pkgs and ports both install libraries in the same place, right? If so, is it likely installing sendmail from ports will break other things installed as packages? I'm thinking it will install newer versions, but they should be upward compatible for the other pkgs already installed, correct? I remember seeing rumblings on the list about if you install pkgs, only use pkgs; and if you install from ports, do everything from ports. The existing sendmail doesn't appear to have a lot of dependencies: $ ldd /usr/sbin/sendmail /usr/sbin/sendmail: libutil.so.9 => /lib/libutil.so.9 (0x80024d000) libc.so.7 => /lib/libc.so.7 (0x800265000) $ file !$ /usr/sbin/sendmail: symbolic link to mailwrapper $ which mailwrapper /usr/sbin/mailwrapper $ ldd /usr/sbin/mailwrapper /usr/sbin/mailwrapper: libutil.so.9 => /lib/libutil.so.9 (0x80024d000) libc.so.7 => /lib/libc.so.7 (0x800265000) $ file /usr/sbin/mailwrapper /usr/sbin/mailwrapper: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-elf.so.1, for FreeBSD 12.4, FreeBSD-style, stripped So why does the sendmail port build so many other ports? I don't have the output from the build to refer to; just remember having to do configuration and turn off NLS and DOC on some. Gary