From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 90C27B1C2 for ; Wed, 23 Nov 2022 15:09:06 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 79C6C22A6F for ; Wed, 23 Nov 2022 15:09:06 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (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 firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 23 Nov 2022 15:09:05 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 241C644D79; Wed, 23 Nov 2022 15:09:05 +0100 (CET) Message-ID: <5eda3e3f-6e87-c8f6-f2ee-8053ba1a0d02@proxmox.com> Date: Wed, 23 Nov 2022 15:09:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Thunderbird/108.0 To: Stoiko Ivanov , pmg-devel@lists.proxmox.com References: <20221123092336.11423-1-s.ivanov@proxmox.com> Content-Language: en-US From: Dominik Csapak In-Reply-To: <20221123092336.11423-1-s.ivanov@proxmox.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.065 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment NICE_REPLY_A -0.001 Looks like a legit reply (A) SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: Re: [pmg-devel] [PATCH pmg-api/pmg-gui v3] ruledb - improve experience for non-ascii tests and mails 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: , X-List-Received-Date: Wed, 23 Nov 2022 14:09:06 -0000 all in all works mostly well, tested various weird emails with various rules that include emojis/non-ascii characters (weird mails as in a mix of smtputf8,mixed charsets and quoted-printable fields with mixed encodings, with and without non-ascii characters in the sender/recipient) things that did not work and need to be fixed if we want to apply this: * LDAP, you mentioned it, but it fails in a really non obvious way and drops mails currently * user wl/bl from the quarantine interface (some en/decode is missing, and garbage reaches the user lists) things that worked in my tests: * sending emails (with/without smtputf8) * quarantining mails * notication/modify/header/disclaimer/etc. with non-ascii characters * various what/who objects with non-ascii characters * greylisting with non-ascii characters in sender/recipient * modifying user wl/bl * matching user wl/bl * log tracker * statistics i did find some things to note in the individual patches, i'll answer there