From nobody Tue Nov 5 18:42:15 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 4XjcdV5dH4z5cR1x for ; Tue, 05 Nov 2024 18:42:22 +0000 (UTC) (envelope-from paulf@quillandmouse.com) Received: from eastern.ash.relay.mailchannels.net (eastern.ash.relay.mailchannels.net [23.83.222.55]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4XjcdT6lNmz4JwY for ; Tue, 5 Nov 2024 18:42:21 +0000 (UTC) (envelope-from paulf@quillandmouse.com) Authentication-Results: mx1.freebsd.org; none X-Sender-Id: dreamhost|x-authsender|paulf@quillandmouse.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 5398D1C5C9B; Tue, 5 Nov 2024 18:42:20 +0000 (UTC) Received: from pdx1-sub0-mail-a311.dreamhost.com (trex-1.trex.outbound.svc.cluster.local [100.103.137.60]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id DF4661C5C3C; Tue, 5 Nov 2024 18:42:19 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1730832139; a=rsa-sha256; cv=none; b=HhjM5RCYDRo0+NXsKIAu90JNfKoBN+x5jKTKXUxT+kCqJEU0jRbijehtf0Su6MVf+QJnb5 rA0YyIvFs3yrIVxu0RX9UTp/COVFVzhLB0h1XUvr4SCrRSa7FmTMIMWDwe3pq7/0Ucd63l IDbc5TsnzafgFRYKj5p0rJ9k9Itq2JjMmQwOy2hVkcDKGkbERhpEHuQxo6ovSgIW5T6RKl Grbnaa7P75SQJxzEzqSAnQAupp4HVAhO64sCYgcrj3X/lLJ8AjrZDQ2O7POx9xVsv0CE9x zYlCH6kl7gng7YSbs5p9FpAYAGl/xvdDak0CQPAs2gbiRsrAvQh4WV9MlH7KDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1730832139; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=W0ixhDMQoVXMBQmEPX9qCVOEfjc7V4PhlnYZyo4yLJI=; b=pW0mCSCq/5NppVB9aKIahduMqASjaX8GNQ1V0b0oRLEz3D6zQspjIQAzHo1kJ6q7dXUTGv F+SJTkb3Qhv0Ycrf3j19wqFklZqf+YWWtZoetI2sWw8nO9wG/ZJBvFyWQIKieLn0p6IJYt 6Aa2+3GtdNpxGIbjp5+m5piSLPEc+L1jpy901MWReqHWgyq5/QhXqRsZ0bTOZjhf0FXoPd gR8nXAXkPyLrkBFS/ksajhIYmsBFTqJdZvLzpygvaowJCvvPUkhF0g/pdHdBvOMcobr0sO OveDI9VA7sBoPPpwlyemyOodnD7E1u6pIlkISRnk5MmPoQz5XZAHhrWJGi+m0g== ARC-Authentication-Results: i=1; rspamd-696f47875-2rfrj; auth=pass smtp.auth=dreamhost smtp.mailfrom=paulf@quillandmouse.com X-Sender-Id: dreamhost|x-authsender|paulf@quillandmouse.com X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|paulf@quillandmouse.com X-MailChannels-Auth-Id: dreamhost X-Blushing-Arch: 6106783f65a73d09_1730832140150_1511386846 X-MC-Loop-Signature: 1730832140150:4064072699 X-MC-Ingress-Time: 1730832140149 Received: from pdx1-sub0-mail-a311.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.103.137.60 (trex/7.0.2); Tue, 05 Nov 2024 18:42:20 +0000 Received: from [192.168.4.30] (unknown [216.82.56.90]) (Authenticated sender: paulf@quillandmouse.com) by pdx1-sub0-mail-a311.dreamhost.com (Postfix) with ESMTPA id 4XjcdR2txCz9r; Tue, 5 Nov 2024 10:42:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quillandmouse.com; s=dreamhost; t=1730832139; bh=W0ixhDMQoVXMBQmEPX9qCVOEfjc7V4PhlnYZyo4yLJI=; h=Date:Subject:To:Cc:From:Content-Type:Content-Transfer-Encoding; b=DPalEGQMvamTrjqrZZQ2mU6udjGZL9pxvM+t8sO9Um7ZMqaPZjxbE7ZEWhUCQaJ8t GEvipHY4Pn6ahzr8snmsUvZdEVYqV9a5lnLL14f+16GCzMxgTyEYilHd9o+ieWI7ox y+2cuww9GGeqP11kCNHFz3/ifhcfr9yzHDVD9WvhpIcPPt06RJ5/pIeQLyUxdRlzcz SCeA8YaQ9DUt0/RayrTn9sKEE8qJ5sgv7vwZYcCWJzp4l1r/ZYVhzVmapV1m4CmCUo IxYd/KOq8S9CKZKIA1BiqhW5VOxt4CvvFXZFCgl6RMRvkSbQ9Mj8P06PqL47B9qmtj qbi3d6cXvmnlA== Message-ID: Date: Tue, 5 Nov 2024 13:42:15 -0500 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 User-Agent: Mozilla Thunderbird Subject: Re: Name resolution in FreeBSD/Postfix To: Paul Procacci Cc: freebsd-questions@freebsd.org References: <30b4b3ca-1872-480a-93bb-f0c85908515f@quillandmouse.com> Content-Language: en-US From: "Paul M. Foster" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:63213, ipnet:23.83.222.0/24, country:CA] X-Rspamd-Queue-Id: 4XjcdT6lNmz4JwY X-Spamd-Bar: ---- On 11/5/24 12:08, Paul Procacci wrote: > On Tue, Nov 5, 2024 at 12:02 PM Paul M. Foster wrote: >> Folks: >> >> Trying to configure Postfix to route local mail (internet is later). >> During a telnet conversation with Postfix to send it mail for a local >> user, it chokes on paulf@localhost recipient, with a 451 4.3.0 error. >> This is my user, and it's in the /etc/passwd file. So I don't understand >> why it doesn't understand the recipient email address. And yes, >> localhost is 127.0.0.1 in the /etc/hosts file. >> >> Can anyone enlighten me? >> >> Paul >> >> ou should probably include your config. >> My guess is postfix needs to be told explicitly that localhost is a >> domain it's servicing yet hasn't been told that. >> >> ~Paul 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 === Paul -- Paul M. Foster Personal Blog: http://noferblatz.com Company Site: http://quillandmouse.com Software Projects: https://gitlab.com/paulmfoster