Re: bug using passthrough option on opensuse
Matthias Andree via bogofilter <[email protected]> Mon, 20 May 2024 12:00:48 +0200
| Newsgroups | gmane.mail.bogofilter.general |
|---|---|
| Message-ID | <[email protected]> |
Am 20.05.24 um 10:32 schrieb Matthias Andree via bogofilter: > Am 20.05.24 um 05:35 schrieb Manvendra Bhangui: >> Hello, >> >> I have been using bogofilter for very long and this is the first time >> I am facing this issue. On opensuse leap 15.5 and opensuse leap 15.6, >> passthrough option prints just the first header from the mail and the >> X-Bogosity header. The entire body gets omitted. >> >> This issue doesn't happen on any of the non-opensuse distributions and >> also opensuse Tumbleweed. I have tested this issue using >> bogofilter-1.2.5 and the gitlab master branch. >> >> This is a simple mail with just To, CC, Subject and date header >> >> # cat /tmp/mail.txt | cat -e >> To: [email protected]$ >> From: [email protected]$ >> Date: Mon, 20 May 2024 02:40:54 +0000$ >> Subject: Test message$ >> $ >> Test message$ >> >> This is what happens. Just the first line of header gets printed, >> followed by the X-Bogosity header and followed by a blank newline >> >> # bogofilter -d /etc/bogofilter -p < /tmp/mail.txt | cat -e >> To: [email protected]$ >> X-Bogosity: Unsure, tests=bogofilter, spamicity=0.520000, >> version=1.3.0.alphagit$ >> $ >> >> I would like to have the bug fixed. I have tried debugging >> src/passthrough.c but not yet made progress. Is there anything else I >> can do to fix this, let me know. > > Manvendra, > > I am wondering if kernel and/or libraries of the operating system on > Leap are somehow incompatible with what bogofilter is doing. > > Can you get me a list of kernel and glibc versions and also, on both the > working Tumbleweed, and the Non-working Leap, the outputs of: > > bogofilter -d /etc/bogofilter -p < /tmp/mail.txt-vvvvv > -xabcdghilmrstuwyz The extra -v options, and the -x option with its > arguments debugs everything, and we can then compare. > > Also, what exact Git commit have you built from? git describe should > print that. So, I have installed OpenSUSE Leap 15.5 into libvirt on an amd64 host running Fedora Linux 39. I have checked out bogofilter from Git's HEAD and built it, with default configure settings, and this issue you are reporting does not reproduce, neither on the message you showed, which I recreated with LF line endings, nor when I replace line endings by CRLF. Please also try running with an added "-C" option to bogofilter, which forgoes reading the configuration file, provide some more system details (architecture, f.i. from uname -a), and please provide the output of bogofilter -d /etc/bogofilter -QQ TIA _______________________________________________ bogofilter mailing list [email protected] https://www.bogofilter.org/mailman/listinfo/bogofilter