From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 9157D1FF183 for ; Wed, 24 Sep 2025 13:32:45 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 0AEBE2EB8; Wed, 24 Sep 2025 13:33:16 +0200 (CEST) From: Stoiko Ivanov To: pmg-devel@lists.proxmox.com Date: Wed, 24 Sep 2025 13:32:31 +0200 Message-ID: <20250924113247.50931-4-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250924113247.50931-1-s.ivanov@proxmox.com> References: <20250924113247.50931-1-s.ivanov@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1758713578259 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.071 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pmg-devel] [PATCH pmg-api 2/2] templates: fetchmail: add comment where users can manual accounts X-BeenThere: pmg-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Mail Gateway development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pmg-devel-bounces@lists.proxmox.com Sender: "pmg-devel" our fetchmail module uses /etc/fetchmailrc (symlinked to /etc/pmg/fetchmailrc) as authoritative source for fetchmail accounts. This means that if users need to make adaptations to fetchmail options it breaks the handling of fetchmail in the API and GUI. based on feedback from #6798 I think providing a hint where users can add accounts with manual overrides, while keeping the API/GUI working for all other accounts should help. Signed-off-by: Stoiko Ivanov --- src/templates/fetchmailrc.tt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/templates/fetchmailrc.tt b/src/templates/fetchmailrc.tt index 76e591ca..f7f341de 100644 --- a/src/templates/fetchmailrc.tt +++ b/src/templates/fetchmailrc.tt @@ -9,6 +9,9 @@ defaults: smtphost [% ipconfig.int_ip %]/[% pmg.mail.ext_port %] +# add manually configured accounts below and before 'proxmox settings'(to keep the UI working) + + # proxmox settings (Do not delete this marker!!) [% FOREACH item IN fetchmail_users.list('values') %] [% IF item.enable %]poll[% ELSE %]skip[% END -%] -- 2.47.3 _______________________________________________ pmg-devel mailing list pmg-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pmg-devel