Hi,

 

MailEnable seem to have problems connecting to OpenBSD spamd in greylisting
mode and stuttering enabled.

 

MailEnable is unable to detect the "220 ." string and timeouts the
connection to spamd after a few seconds with a connection error.

 

Patched now spamd to send the "220 ." as a complete string:

@@ -910,7 +910,7 @@

                        cp->sr = 1;

                else

                        cp->sr = 0;

-               n = write(cp->fd, cp->op, (one && cp->stutter) ? 1 :
cp->ol);

+               n = write(cp->fd, cp->op, (one && cp->stutter) ? 4 :
cp->ol);

                if (n == 0)

                        closecon(cp);

                else if (n == -1) {

 

Guess this is a MailEnable bug, but maybe anyone has the possibility to test
if this patch helps to workaround the problem.

 

- Florian

Reply via email to