Re: [Mimedefang] "cmd read returned"

2016-05-24 Thread Joseph Brennan

Dianne Skoll  wrote:

> The error message: cmd read returned 0, expecting 5
> 
> means that the Sendmail end of the milter state machine expected to read
> 5 characters from mimedefang, but got EOF instead.
> 
> I would try fixing the SpamAssassin problem to see if that fixes
> everything. There's no point in trying to debug two problems at once.


We did fix the Spamassassin error. If we see the rest of this again then I
agree we would have a cleaner example of the problem to check.

--Joe Brennan


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] "cmd read returned"

2016-05-24 Thread Dianne Skoll
On Tue, 24 May 2016 15:12:59 +0100
Dave Osbourne  wrote:

> I'm not a great help, but I think that I've seen that if there is any 
> STDOUT in anything (either the PERL or anything it calls) ... any
> errors or debugging have to go to a file...

Yes, anything going to STDOUT will mess things up royally... but probably
by causing a complaint from the multiplexor and not the milter.

The error message: cmd read returned 0, expecting 5

means that the Sendmail end of the milter state machine expected to read
5 characters from mimedefang, but got EOF instead.

I would try fixing the SpamAssassin problem to see if that fixes everything.
There's no point in trying to debug two problems at once.

Regards,

Dianne.
___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang


Re: [Mimedefang] "cmd read returned"

2016-05-24 Thread Dave Osbourne



On 2016-05-23 17:59, Joseph Brennan wrote:

  Is there any other cause we can look for?


I'm not a great help, but I think that I've seen that if there is any 
STDOUT in anything (either the PERL or anything it calls) ... any errors 
or debugging have to go to a file...


I'm going to wait to get "disciplined" for this, but I think I'm right...

D


___
NOTE: If there is a disclaimer or other legal boilerplate in the above
message, it is NULL AND VOID.  You may ignore it.

Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list MIMEDefang@lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang