Package: greylistd Version: 0.9.0.2 Severity: important Dear Maintainer,
The hash() function used to hash triplets in python3 has a different behaviour that the python2 version. py3 hash() is salted, so the hash it produces for the same input text differs between runs. That produces two problems in greylistd: - multiple entries added to the lists - checks produces different keys To reproduce: - start greylistd - greylist clear - greylist list --white (verify is empty) - greylist add --white a.com - greylist list --white (verify a.com is in wl) - greylist check a.com (should be white) - restart greylistd - greylist list --white (verify a.com is in wl) - greylist check a.com (returns grey, should be white) Thank you. -- System Information: Debian Release: 11.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-18-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages greylistd depends on: ii adduser 3.118 ii debconf [debconf-2.0] 1.5.77 ii init-system-helpers 1.60 ii lsb-base 11.1.0 ii python3 3.9.2-3 Versions of packages greylistd recommends: ii exim4 4.94.2-7 greylistd suggests no packages. -- debconf information excluded