From nobody Wed Nov 06 03:46:50 2024 X-Original-To: freebsd-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 4Xjrjn5mfbz5c2Rx for ; Wed, 06 Nov 2024 03:46:53 +0000 (UTC) (envelope-from bob@proulx.com) Received: from havoc.proulx.com (havoc.proulx.com [198.99.81.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xjrjm6Y34z46tH for ; Wed, 6 Nov 2024 03:46:52 +0000 (UTC) (envelope-from bob@proulx.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proulx.com header.s=dkim2048 header.b=olpAD6X3; spf=pass (mx1.freebsd.org: domain of bob@proulx.com designates 198.99.81.74 as permitted sender) smtp.mailfrom=bob@proulx.com; dmarc=pass (policy=none) header.from=proulx.com Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTPS id D24632E0 for ; Tue, 5 Nov 2024 20:46:51 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1730864811; bh=7hcY9j/6ZDh4+7CcIROfMMRHtGCTInna6/hoVqcOE9w=; h=Date:From:To:Subject:References:In-Reply-To:From; b=olpAD6X3IgaIEAOhGgHZriVOf+UQZYz3hhUabGezLVXqBXE546neQlGWoy4gTIoE/ UuROO4NYpFujTuHmTJXe7tq2dMvI4RpjcoFLczPEssDXMii/592AgCUGvxg9vyrYjk hFiOm8TFf8HlcamkyVG0IbZqBuCH2ta0BM8giFp8MgvYhYWkuTVrasJLH1WTU9G1uP JZA2D8Rvhs/LHxPT2Gdxixz/C775Fn8VSFDfT6P68Th6CYUMcIX+sRHwrQnFF+YL8g kR6M+sA6EH+5WKsWdO4zdjPKEEtcNgqIuHv9fww+4woF+Lt8KdcgMs6z6Op3IiZ35N we/yEtQVF0ZMw== Received: from madness.proulx.com (madness.proulx.com [192.168.230.122]) by joseki.proulx.com (Postfix) with ESMTP id 23C2E7A068 for ; Tue, 5 Nov 2024 20:46:51 -0700 (MST) Received: by madness.proulx.com (Postfix, from userid 1000) id 0DAB48105B; Tue, 05 Nov 2024 20:46:50 -0700 (MST) Date: Tue, 5 Nov 2024 20:46:50 -0700 From: Bob Proulx To: freebsd-questions@freebsd.org Subject: Re: Name resolution in FreeBSD/Postfix Message-ID: <20241105204320325210482@bob.proulx.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <30b4b3ca-1872-480a-93bb-f0c85908515f@quillandmouse.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-3.95 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.95)[-0.954]; DMARC_POLICY_ALLOW(-0.50)[proulx.com,none]; R_DKIM_ALLOW(-0.20)[proulx.com:s=dkim2048]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:397142, ipnet:198.99.80.0/22, country:US]; MISSING_XM_UA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[proulx.com:+] X-Rspamd-Queue-Id: 4Xjrjm6Y34z46tH X-Spamd-Bar: --- Paul M. Foster wrote: > Contents of /usr/local/etc/mail/mailer.conf: > > === > > sendmail /usr/local/sbin/sendmail > send-mail /usr/local/sbin/sendmail > mailq /usr/local/sbin/sendmail > newaliases /usr/local/sbin/sendmail > myhostname = banzai > mydomain = mars.lan > mydestination = $myhostname, localhost.$mydomain, localhost > inet_interfaces = $myhostname, localhost > mynetworks_style = hosts > default_transport = error: outside mail is not deliverable If all of that is in /usr/local/etc/mail/mailer.conf then that's the wrong location for those later lines. The first four are okay. sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail > myhostname = banzai > mydomain = mars.lan > mydestination = $myhostname, localhost.$mydomain, localhost > inet_interfaces = $myhostname, localhost > mynetworks_style = hosts > default_transport = error: outside mail is not deliverable Those lines don't belong in the mailer.conf file. Those are postfix configuration and belong in the postfix main.cf configuration file. Bob