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 28AF915808B for ; Fri, 16 Feb 2024 15:47:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C78BDE29D5; Fri, 16 Feb 2024 15:47:30 +0000 (UTC) Received: from smarthost01b.ixn.mail.zen.net.uk (smarthost01b.ixn.mail.zen.net.uk [212.23.1.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6C598E29C6 for ; Fri, 16 Feb 2024 15:47:30 +0000 (UTC) Received: from [82.69.80.10] (helo=cube.localnet) by smarthost01b.ixn.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1rb0Qy-004hiK-72 for gentoo-user@lists.gentoo.org; Fri, 16 Feb 2024 15:47:29 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Help with local mail, please Date: Fri, 16 Feb 2024 15:47:28 +0000 Message-ID: <1879739.tdWV9SEqCh@cube> In-Reply-To: <2737567.mvXUDI8C0e@iris> References: <4880323.GXAFRqVoOG@cube> <6016149.lOV4Wx5bFT@cube> <2737567.mvXUDI8C0e@iris> 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-Originating-smarthost01b-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 826f8f43-018e-4ef8-b9f2-ee833e0d283d X-Archives-Hash: 74afea7b8efa9d4935c11cc88bbb67ca On Friday, 16 February 2024 12:30:48 GMT J. Roeleveld wrote: > 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? I forgot to add that my system was already almost identical to yours, so I don't know whether to say yes or no. :) > > > 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. Er... outgoing mail doens't go through postfix at all; it goes direct from my KMail client to my ISP. > > > 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" ...so no need to set any virtual domains. > If you have only 1 domain, keep that "virtual_alias_domains" empty. No such setting in my main.cf so I assume it's empty. Anyway, I looked at some of those mails that postfix was trying to forward, and they were old and unimportant, so I purged them. Let's see what other problems I've made for myself... :) -- Regards, Peter.