Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

2.0.2&2.1.3 with SPF1 & SPF2 crashes

2006-02-22 by joosteto

I tried to run milter-greylist on my x86-64 system, with libspf.
2.0.2 failed with SPF2 (didn't try SPF1)
2.1.3 failed with SPF1 and SPF2.

System: linux 2.6.15.4, debian-testing, x86-64 (Sempron).

When running 2.1.3 with SPF1 in gdb (with -D  -u smmsp) it properly
checks several emails, and then fails with:
milter-greylist: k1MJMoVE009106: skipping greylist because recipient
<jmbvxvbzit.eraro@u\ea.org> is whitelisted,
(from=<MarthaDavidson@ajaccountancy.com>,
rcpt=<jmbvxvbzit.eraro\@...>,
addr=ppp85-140-196-5.pppoe.mtu-net.ru[85.140.196.5})
[Thread 1108621664 (LWP 9107) exited]
milter-greylist: greylist: sigwait returned error: 0
[New Thread 1108621664 (LWP 9114)]
milter-greylist: greylist: sigwait returned error: 0
milter-greylist: greylist: mi_stop=2
milter-greylist: Final database dump
milter-greylist: Exiting

I would like to set breakpoints, but don't know where, I cannot find
where the "mi_stop=1" is printed.

When running 2.0.2 or 2.1.3 with libspf2, I get a segfault.
Running 2.1.3 with libspf2, I get this (from gdb):

=>      SPF_request_query_mailfrom(spf_request, &spf_response);
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1117342048 (LWP 4015)]
0x00002aaaab1a25c0 in memset () from /lib/libc.so.6
(gdb) up
#1  0x00002aaaaabcd5f2 in SPF_record_expand_data () from
/usr/lib/libspf2.so.2

(Haven't yet installed the source of libSPF2 to find where it is).

I'm wondering if these errors are known (with a known fix), or if it's
worth trying to figure out what the segfaults are etc.
And, if so, should I try 2.0.2 or 2.1.3?

Thanks,
joostje

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.