IMAP cyrus problem [cyrus-deliver exit code EX_DATAERR (65)]

IMAP cyrus problem [cyrus-deliver exit code EX_DATAERR (65)]

Post by Andrzej Ad » Mon, 23 Nov 2009 08:48:32

0) from sysexits.h
#define EX_DATAERR 65 /* data format error */

1) Have you tried to remove "From " header (not "From:") from message
passed to cyrus-deliver? AFAIR cyrus does not like it.

|formail "-IXFrom " |/usr/lib/cyrus/bin/deliver -a pwhrmsn -m user.pwhrmsn

2) Have you used w (wait for exit) flag in the procmail recipe?
It should give you an option to e.g.
* use maildir as fallback destination
* pass softfail (75) exit code to sendmail if your procmail is
executed by sendmail
[pl>en Andrew] Andrzej Adam Filip : XXXX@XXXXX.COM : XXXX@XXXXX.COM
It is the theory which decides what can be observed.
-- Albert Einstein

IMAP cyrus problem [cyrus-deliver exit code EX_DATAERR (65)]

Post by Paul-Wilhe » Mon, 23 Nov 2009 20:50:34

Ah, now I know the reason for "65". Thank You !

Yes !
The following recipe is for years the first in my included user procmailrcs

|/usr/bin/formail -I "From"

This indeed causes the trouble with procmail.
I changed -I to -X, and now there is no program failure shown in
procmail.log. But the problem still keeps on existing. The mail seems to be
delivered correctly to the users mailboxes. However - there is no new mail
in the /var/spool/imap/user/*user* directory.

I didn't change any config files in this mail environment for years, so
I suppose a bug in cyrus-imapd 2.3.14-8.3 to be responsible for this.