Good, I found the problem, now the solution. The problem is: postfix adds an extra header on top of the message:
>From [EMAIL PROTECTED] Tue Aug 16 11:46:03 2005 This header causes deliver to crash with exit code 65 "invalid data". Testing it on the command prompt gives an "invalid error" message. This header is not present in the backups of raw mail data arriving through fetchmail. Good... so the problem really is postfix. Now I've to figure out why it sets that extra header, and how to stop it! I'll keep you all posted. Wouter. On Mon, 2005-08-15 at 20:21 +0200, Casper wrote: > Configure cyrus with --disable-sieve (sieve is a mailfiltering scripting > language). > > What i can see you only have 1 user on the system or this is the > "personal" procmailrc file? > > Ok we start, test this. > > 1. DELIVERMAIL="/usr/lib/cyrus-imapd/deliver -a wouter" = if this is a > global procmailrc file you can only have 1 user on the system. > > 2. $DELIVERMAIL wouter = no mailbox specified > > $DELIVERMAIL -m user.wouter # (correct) > > 3. The last deliverrule in procmailrc try to add this (W). > > :0W > | $DELIVERMAIL -m user.wouter > > :0 > | $BACKUP >> $HOME/procmailfailed.bz2 > > > Then you would be able to see if the mail come this far. > > If the deliver rule fails the mail will be saved in > $HOME/procmailfailed.bz2 > > and if the mail is saved in $HOME/procmailfailed.bz2 then i think you have > something wrong in postfix. > > Try this and come back to me. > > > PS. Why run postfix and not sendmail ? > > > /Casper > > > > > > On Mon, 15 Aug 2005 17:33:51 +0200, Wouter van Marle > <[EMAIL PROTECTED]> wrote: > > > # Macros > > DELIVERMAIL="/usr/lib/cyrus-imapd/deliver -a wouter" > > LOGFILE=$HOME/procmail.log > > > > # create a backup of the mails > > BACKUP="/usr/bin/bzip2 -z9c" > > > > :0c > > | $BACKUP >> $HOME/mailbackup.bz2 > > > > # and deliver all remaining mails to the mail inbox > > :0 > > | $DELIVERMAIL wouter > > > ---- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html