Hi all,
i'm using dspam 3.8.0 on FreeBSD 8.0-Current (AMD64). Couple days ago
i've found some dspam segfaults in kernel logs (it was called as mailbox 
command 
in Postfix MTA). It was happening only on messages from one sender. I
figured out, that % char in Message-ID header field caused the problem:

m...@freebsd:~% grep Message-ID lstone19-1
Message-ID: <c56668d9.69bfc%lston...@stonejongleux.com>
m...@freebsd2:~% cat lstone19-1 | dspam --user=mr --class=innocent 
--source=corpus
zsh: done                cat lstone19-1 |
zsh: segmentation fault  dspam --user=mr --class=innocent --source=corpus

Now, with the same message with % removed everything is working
properly:

m...@freebsd:~% grep Message-ID lstone19-4
Message-ID: <c56668d9.69bfclston...@stonejongleux.com>
m...@freebsd:~% cat lstone19-4 | dspam --user=mr --class=innocent 
--source=corpus
19957: [12/14/2008 20:09:15] Message <c56668d9.69bfclston...@stonejongleux.com> 
marked as CORPUS (signature=,
user=mr, status=, time=0.022683s)

I've noticed that when I run dspam as a deamon this thing won't happen.
I can send those messages if needed.

Best regards,

-- 
Marcin Rzepecki
m.rzepecki(at)iem.pw.edu.pl


!DSPAM:1011,49455b76150921873468372!


Reply via email to