From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B7ADB15808A for ; Fri, 18 Jul 2025 14:51:15 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 9FDA5341071 for ; Fri, 18 Jul 2025 14:51:15 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D8BBA110566; Fri, 18 Jul 2025 14:50:10 +0000 (UTC) Received: from smarthost01a.ixn.mail.zen.net.uk (smarthost01a.ixn.mail.zen.net.uk [212.23.1.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange secp256r1 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BC7AA110280 for ; Fri, 18 Jul 2025 14:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=myzen.co.uk ; s=sh20250120; h=Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SO6THktq0ciepNEA3jkzUaE8U+yfcZ/nEPMedGxS52Y=; b=Y6SkH7+0CGcNaiYL9RZ99f/qG+ F5EvUjANunx/FwnC8RV1SwHrrvnAuTX/Qbbz5D3t1amRZpV7tlcdHvdEI1rafG6sIcu7FtLMjbR5o VuCW/azbrdUphuZxkOro48qvNZWHicNY819QCu00fvNBvWtUydMyR4mi14oM5zmxBWNRn4hqNc+5B 6cjlACIbMfPKfuHIrPDFa+y/u+sM/u9ZrLpd3Y+9uYOdKA6rTQ5pLtOhawqUJ1aRvktKJgmed054H N5+Ylj4Zqsgb52CGIoWerIJsjPQaGwRc2FKpubjn9Nz1vdUfGVnhszFVj4l5LkVrMya3tTs3bXmPP LhFHSSzw==; Received: from [82.69.80.10] (helo=cube.localnet) by smarthost01a.ixn.mail.zen.net.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1ucmPW-009wXM-Q8 for gentoo-user@lists.gentoo.org; Fri, 18 Jul 2025 14:50:07 +0000 From: Peter Humphrey To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Postfix config problem Date: Fri, 18 Jul 2025 15:50:07 +0100 Message-ID: <22787212.EfDdHjke4D@cube> In-Reply-To: References: <13824654.uLZWGnKmhe@cube> <3387290.44csPzL39Z@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-Type: multipart/mixed; boundary="nextPart7848148.EvYhyI6sBW" Content-Transfer-Encoding: 7Bit X-Originating-smarthost01a-IP: [82.69.80.10] Feedback-ID: 82.69.80.10 X-Archives-Salt: 29d312ed-73cb-4e6d-b1a2-edbccb9efba0 X-Archives-Hash: 4522eecaf695e32b46275a0c13eab5c6 This is a multi-part message in MIME format. --nextPart7848148.EvYhyI6sBW Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Friday, 18 July 2025 12:35:44 British Summer Time Javier Martinez wrote: > El 18/7/25 a las 12:34, Peter Humphrey escribi=C3=B3: >=20 > > On Friday, 18 July 2025 07:49:13 British Summer Time Arve Barsnes wrote: > >=20 > > --->8 > >=20 > >=20 > >> The mail thing is very confusing, but here is some main.cf settings on > >> my machine that receives mail from the other machines on the LAN: > >> > >> > >> > >> inet_interfaces =3D $myhostname, localhost > >> mydestination =3D $myhostname, localhost.$mydomain, localhost, >> hostname> <- the simple name, not the hostname.lan that I've set in > >> 'myhostname' > >> mynetworks =3D 192.168.0.0/24, 127.0.0.0/8 > >> > >> > >> > >> Hope that helps, > >> Arve > >=20 > >=20 > > Not quite, Arve; sorry. Quoting the simple name causes postfix to add > > ".localdomin" to it. > >=20 > > I'll read the FM as Eray said, which I'd forgotten about. > >=20 >=20 >=20 > It seems that you disabled smtp postfix service and you are using=20 > dovecot as the smtp client with postfix smtpd as destination. So your=20 > dovecot gives user mails to your postfix and you expect that him relay ou= t. >=20 > If postfix has not smtp service it can't rely mail out since it has,=20 > with TURN smtp command, change from smtpd server to smtp client to=20 > connect to externals smtpd server IMHO. I think this is the reason=20 > because you outgoing mail gets inbound mail, because postfix can't act=20 > as smtp client and only server one. >=20 > However without dovecot config info and master.cf file I can't confirm > that. =20 I've attached my master.cf. The only settings I've made in dovecot.conf are: protocols =3D imap listen =3D * =2D-=20 Regards, Peter. --nextPart7848148.EvYhyI6sBW Content-Disposition: attachment; filename="master.my" Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8"; name="master.my" smtp inet n - n - - smtpd pickup unix n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr unix n - n 300 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp -o syslog_name=${multi_instance_name?{$multi_instance_name}:{postfix}}/$service_name showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache postlog unix-dgram n - n - 1 postlogd --nextPart7848148.EvYhyI6sBW--