[Dovecot] Antispam plugin problem (CRM114)

Davide davide.marchi at mail.cgilfe.it
Mon Oct 1 12:04:30 EEST 2012


I downloaded and applaied the patch in the message 01:16 of 716 bytes:

diff -r 7f94cc6b4d8e src/crm114.c
--- a/src/crm114.c	Fri May 11 04:05:59 2012 +0300
+++ b/src/crm114.c	Mon Oct 01 02:15:40 2012 +0300
@@ -56,11 +56,17 @@
       * really only needs the signature.
       */
      if (pipe(pipes))
+    {
+	i_debug("Failed to create pipes");
  	return -1;
+    }

      pid = fork();
      if (pid < 0)
+    {
+	i_debug("Couldn't fork");
  	return -1;
+    }

      if (pid)
      {
@@ -117,6 +123,7 @@

  	argv[i++] = spam ? cfg->spam : cfg->non_spam;

+	i_debug("Executing '%s %s'", cfg->binary, t_strarray_join(argv, " "));
  	execv(cfg->binary, (char *const *) argv);
  	/* fall through if reaver can't be found */
  	i_debug("executing %s failed: %d (uid=%d, gid=%d)", cfg->binary, errno,


Il 01/10/2012 11:00, Davide ha scritto:
> Thank you very much for the reply, i' have installed the supplied patch
> with the following command:
>
> - patch -p1 -i ../crm_debug.patch (i'm in the cloned base directory)
> i compile the plugin and all go easy
>
> i move my wrongly tagged mail from UNSURE to INBOX and thunderbird tell
> me ..blah..blah.. [CANNOT] Failed to call crm114 binary
> I cant see in any log what's the problem ....
>
> Il 01/10/2012 01:16, Eugene Paskevich ha scritto:
>> On Mon, 01 Oct 2012 02:07:25 +0300, Eugene Paskevich
>> <eugene at raptor.kiev.ua> wrote:
>>
>>> Did you see anything in syslog? If not, let's begin with the attached
>>> patch.
>>
>> Ouch... too sleepy. Here's the correct patch.
>>



More information about the dovecot mailing list