From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id 497781FF16B for ; Fri, 26 Sep 2025 21:29:17 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7A9A417809; Fri, 26 Sep 2025 21:29:49 +0200 (CEST) From: Stoiko Ivanov To: pmg-devel@lists.proxmox.com Date: Fri, 26 Sep 2025 21:27:11 +0200 Message-ID: <20250926192941.89086-5-s.ivanov@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250926192941.89086-1-s.ivanov@proxmox.com> References: <20250926192941.89086-1-s.ivanov@proxmox.com> MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1758914969191 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 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [fetchmailrc.tt] Subject: [pmg-devel] [PATCH pmg-api v3 2/3] templates: fetchmail: add comment where users can add 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..d9886b59 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' + + # 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