On Sun, 27 Dec 2009 18:47:41 +0100
Sven Schwyn <[email protected]> wrote:

> Salü Stevan
> 
Hoi Sven,


> I've replaced sbph with osb (and chain for testing with the same results as 
> osb). The problem has shifted.
> 
> Initially, the socket looks fine:
> 
> # echo "quit"|socat unix-connect:/var/run/dspam/dspam.sock stdio
> 220 DSPAM LMTP 3.8.0 Ready
> 221 2.0.0 OK
> 
> Incoming mail however causes dspam to segfault:
> 
> Dec 27 18:30:27 [kernel] [798225.456823] dspam[28700]: segfault at 20 ip 
> 000000000040dd10 sp 00007f5607916800 error 4 in dspam[400000+15000]
> 
> lost connection with my.host.com[/var/run/dspam/dspam.sock] while sending end 
> of data -- message may
> be sent more than once
> 
> And as a consequence the socket is dead afterwards:
> 
> tango data # echo "quit"|socat unix-connect:/var/run/dspam/dspam.sock stdio
> 2009/12/27 18:37:45 socat[29578] E connect(3, AF=1 
> "/var/run/dspam/dspam.sock", 27): Connection refused
> 
> You're right, it's a Gentoo box (amd64, Xen virtual host). In case you're 
> familiar with it,
>
how could I not be? I am the original author of the DSPAM Ebuild. :)


> here are the USE flags:
> - postfix: dovecot-sasl pam ssl -cdb -hardened -ipv6 -ldap -mbox -mysql -nis 
> -postgres -sasl -vda
> - dspam: clamav daemon sqlite syslog -debug -debug-bnr -debug-verbose 
> -large-domain -ldap -mysql -postgres -user-homedirs -virtual-users
> - sqlite: readline threadsafe -debug -doc -fts3 -icu -soundex -tcl
> 
> One oddity: The storage files created in /var/spool/dspam/data seem to have 
> wrong owner/permissions (root:root) initially. However, changing it to 
> root:dspam with group write doesn't fix the problem.
> 
I am strongly believing that the SQLite driver in 3.8.0 is the root of the 
problem. I have fixed a bunch of issues with the SQLite driver in 3.9.0 but not 
as much as I have done for MySQL and the PostgreSQL driver.

I am trying now to go the path with the lowest resistance: Are you open minded? 
Would you mind trying 3.9.0 RC2 or even GIT version? Should/can I send you an 
Ebuild for it?


> Thanks a lot for your help!   -sven
> 
No problem.

Greetings from Zürich

Stevan

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to