From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7291615808B for ; Fri, 16 Feb 2024 12:30:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 30280E2A0B; Fri, 16 Feb 2024 12:30:52 +0000 (UTC) Received: from gw1.antarean.org (gw1.antarean.org [194.145.200.214]) by pigeon.gentoo.org (Postfix) with ESMTP id 928DFE29E9 for ; Fri, 16 Feb 2024 12:30:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4Tbrr94xrNzySk for ; Fri, 16 Feb 2024 12:30:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at antarean.org Received: from gw1.antarean.org ([127.0.0.1]) by localhost (gw1.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LuAJvt-Frd5o for ; Fri, 16 Feb 2024 12:30:49 +0000 (UTC) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw1.antarean.org (Postfix) with ESMTP id 4Tbrr91qjKzyP4 for ; Fri, 16 Feb 2024 12:30:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4Tbrr90SDyz1H for ; Fri, 16 Feb 2024 12:30:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at antarean.org Received: from mailstore1.adm.antarean.org ([127.0.0.1]) by localhost (mailstore1.adm.antarean.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3DWfcdi9DzWB for ; Fri, 16 Feb 2024 12:30:48 +0000 (UTC) Received: from iris.localnet (iris.adm.antarean.org [10.55.16.47]) by mailstore1.adm.antarean.org (Postfix) with ESMTPA id 4Tbrr84q3Tz17 for ; Fri, 16 Feb 2024 12:30:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1708086648; bh=gzy0j5Z4umy+3s0sV+3h11pt/gwRBayKRaALv1btGeA=; h=From:To:Subject:Date:In-Reply-To:References; b=nAizOUfzisLdFWtwzxNzF+TncCFFIEzfGSnSMHEAq6darnTVVsREYZD0CzvqnKqFs U8yG2aKDAe1XZCO4UKExoWbDPKy+joQsVqHXuKJLLic1Wy7DqO+LezNFaa6UbtSfc5 d0TyoslQhRYkvnleEeDR01Rm0Ci7aKmLznfi6bLo= From: "J. Roeleveld" To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Help with local mail, please Date: Fri, 16 Feb 2024 13:30:48 +0100 Message-ID: <2737567.mvXUDI8C0e@iris> In-Reply-To: <6016149.lOV4Wx5bFT@cube> References: <4880323.GXAFRqVoOG@cube> <4914468.31r3eYUQgx@iris> <6016149.lOV4Wx5bFT@cube> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Archives-Salt: 5760aaac-630c-4a26-8603-d814c04e784c X-Archives-Hash: 5d09af287e3388627ca44fef648ee67e On Friday, February 16, 2024 6:19:25 AM CET Peter Humphrey wrote: > On Wednesday, 14 February 2024 11:35:18 GMT J. Roeleveld wrote: > > I've been using postfix for longer than I can remember. > > The config entries I changed from default are: > > > > --- main.cf --- > > myhostname = > > mydomain = > > myorigin = > > mynetworks = > 192.168.1.0/24> > > That's helpful - thanks Joost. You're welcome. Was this enough to get it working? > > smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, > > reject_unauth_destination > > No relaying here; all outgoing mail goes to my ISP. If your mailserver (postfix) is sending emails to your ISP, that is (from the viewpoint of postfix) relaying by definition. > > Also, are all emails sent to "mydomain" or do you have additional domains > > configured? > > If the latter, did you set "virtual_alias_domains = hash:/etc/postfix/ > > virtual_domains" > > Include all virtual domains the file and converted the file to a .db ? > > Just the one "mydomain" If you have only 1 domain, keep that "virtual_alias_domains" empty. -- Joost