bug using passthrough option on opensuse

Manvendra Bhangui mbhangui at gmail.com
Mon May 20 15:23:32 CEST 2024


I tried replies to your mail. But my mail is getting rejected with the
following message

Message rejected by filter rule match

Maybe attachments are not allowed? I have now pasted the same here

https://pastebin.com/WfvpvqKd

I managed to find a partial fix thanks to the command you gave.

 bogofilter -d /etc/bogofilter -p < /tmp/mail.txt -vvvvv -xabcdghilmrstuwyz

This above command was most helpful in debugging the situation. On
opensuse 15.6 there is this following conversion error from iso-8859-1
to UTF-8 after which yyinput fails. This doesn't happen on tumbleweed
or any of the other distributions (archlinux, debian 10, 11, 12,
ubuntu (all versions from 16 onwards), all fedora, centos, rhel
versions). My guess is that if this iconv issue is fixed then
bogofilter will run properly. Maybe a test in configure.ac could warn
there is an issue? But at least I have some clue. Let me try fixing
this iconv error using google. If you know what I should do to fix
this error or what further command I can run, let me know. But for the
moment I have a temporary fix to make bogofilter run.

BEGIN INITIAL
converting iso-8859-1 to UTF-8
Conversion from 'iso-8859-1' to 'UTF-8' is not supported.
***  0 hi 21 To: test at example.com
textblock.c:62  0x1c09b40 0x1c0ef60  21 *add* cur: 85, max: 85, tot: 85
### iconvert buffers: linebuff 2064, buff 8192
tx: 0x1c0ef80, rd: 0, ln: 21, sz: 2064
*** yyinput("", 8192) = 0
^@

After which I can see yyinput failure. That gave me a clue and I used
the following configure option to build bogofilter without unicode

./configure --prefix=/usr --disable-unicode

bogofilter built using the above --disable-unicode works without any
issue on leap 15.5 and leap 15.6.

Output of git show command
# git show
commit d1f560775e71daeeea4237b814e3a0c5dfe4b9f7 (HEAD -> main,
origin/main, origin/HEAD)
Merge: 343f55fa 3f4db3a6
Author: Matthias Andree <matthias.andree at gmx.de>
Date:   Fri Jul 28 06:08:03 2023 +0000

    Merge branch 'pydsigner-main-patch-94248' into 'main'

    Fix dead URLs in README


More information about the bogofilter mailing list