I'm trying to set up Johannes's DSpam plugin for dovecot. I've compiled rc2 and the plugin, and have things installed OK. I have a X-DSPAM-Signature in my message that is delivered to Inbox. Whenever I try to move this to my spam folder (I changed source to say 'Spam' instead of 'SPAM'), my client (Thunderbird) pops up 'The current command did not succeed. The mail server responded: dspam failed.' I've set '#define DEBUG 1' in the plugin and see this in my 'messages' log. Sep 20 09:39:03 ltsp imap: /usr/local/bin/dspam --source=error --stdout --class=spam --signature=45113fe931161804284693 '/usr/local/bin/dspam' is the location of my dspam binary. Occasionally, though not every time I move a message, I see this in my 'messages' log. Sep 20 09:38:34 ltsp kernel: imap[3656]: segfault at 0000000000102490 rip 00002aaaaaafc589 rsp 00007fffabda5400 error 4 Sep 20 09:38:34 ltsp kernel: imap[3653]: segfault at 0000000000102490 rip 00002aaaaaafc589 rsp 00007fff31e814e0 error 4" I also see this, though the login is successful: Sep 20 09:43:44 ltsp dovecot-auth: pam_ldap: could not open secret file /etc/ldap.secret (No such file or directory) Can anyone point me in a direction? Thank you, Michael Blinn -- If this is my day of harvest, in what fields have I sowed the seed, and in what unremembered seasons? - Kahlil Gibran CONFIDENTIALITY NOTICE: This message, and any attachments that may accompany it, contain information that is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable law. If the recipient of this message is not the intended recipient, any disclosure, copying, or other use of this communication or any of the information, which it contains is unauthorized and prohibited. If you have received this message in error, please notify the original sender by return mail and delete this message, along with any attachments, from your computer. Thank you.
Correction... the segfault only occurs on 'service dovecot restart' -Michael Michael Blinn wrote:> I'm trying to set up Johannes's DSpam plugin for dovecot. I've > compiled rc2 and the plugin, and have things installed OK. I have a > X-DSPAM-Signature in my message that is delivered to Inbox. Whenever I > try to move this to my spam folder (I changed source to say 'Spam' > instead of 'SPAM'), my client (Thunderbird) pops up 'The current > command did not succeed. The mail server responded: dspam failed.' > > I've set '#define DEBUG 1' in the plugin and see this in my 'messages' > log. > Sep 20 09:39:03 ltsp imap: /usr/local/bin/dspam --source=error > --stdout --class=spam --signature=45113fe931161804284693 > '/usr/local/bin/dspam' is the location of my dspam binary. > > Occasionally, though not every time I move a message, I see this in my > 'messages' log. > Sep 20 09:38:34 ltsp kernel: imap[3656]: segfault at 0000000000102490 > rip 00002aaaaaafc589 rsp 00007fffabda5400 error 4 > Sep 20 09:38:34 ltsp kernel: imap[3653]: segfault at 0000000000102490 > rip 00002aaaaaafc589 rsp 00007fff31e814e0 error 4" > > I also see this, though the login is successful: > Sep 20 09:43:44 ltsp dovecot-auth: pam_ldap: could not open secret > file /etc/ldap.secret (No such file or directory) > > Can anyone point me in a direction? > > Thank you, > Michael Blinn >-- If this is my day of harvest, in what fields have I sowed the seed, and in what unremembered seasons? - Kahlil Gibran CONFIDENTIALITY NOTICE: This message, and any attachments that may accompany it, contain information that is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise exempt from disclosure under applicable law. If the recipient of this message is not the intended recipient, any disclosure, copying, or other use of this communication or any of the information, which it contains is unauthorized and prohibited. If you have received this message in error, please notify the original sender by return mail and delete this message, along with any attachments, from your computer. Thank you.
I wonder if this is a permissions problem with the dspam executable. It is -r-x--s--- 1 root mail 494628 Sep 20 12:15 /usr/local/bin/dspam so if I 'su username' then that user gets a 'permission denied' when executing the dspam binary. I didn't see anything in the plugin wiki about dspam permissions though.. am I going in the correct direction? I've tried this plugin with almost every dovecot source version and every dspam source version.. Has anyone had success doing the dspam plugin on x86_64 ? Any and all pointers are appreciated. Thanks, Michael Michael Blinn wrote:> I'm trying to set up Johannes's DSpam plugin for dovecot. I've > compiled rc2 and the plugin, and have things installed OK. I have a > X-DSPAM-Signature in my message that is delivered to Inbox. Whenever I > try to move this to my spam folder (I changed source to say 'Spam' > instead of 'SPAM'), my client (Thunderbird) pops up 'The current > command did not succeed. The mail server responded: dspam failed.'