procmail, deliver and failure (65)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I use procmail to filter emails tagged by spamassassin and use deliver  
to put them in the mailbox as follows:

:0 w
| /usr/lib/cyrus-imapd/deliver -a $USER -m user.$USER

after a recent update I am getting an exit code 65 from deliver which,  
if I am not wrong, means a wrong formatting.

Following several suggestions I removed the From header from the email:

:0f
| formail -I "From "
:0 w
| /usr/lib/cyrus-imapd/deliver -a $USER -m user.$USER

but I always get the same error.

I then saved emails to see what the problem could be.

:0f
| formail -I "From "
:0 c
| cat > /tmp/backup
:0 w
| /usr/lib/cyrus-imapd/deliver -a $USER -m user.$USER

This is what I get:

$ cat /tmp/backup
Return-Path: <root@xxxxxxxxxxxxxx>
Received: by matteocorti.ch (Postfix, from userid 0)
         id 8339B2EC003; Fri, 12 Jun 2009 12:01:47 +0200 (CEST)
Date: Fri, 12 Jun 2009 12:01:47 +0200
To: corti@xxxxxxxxxxxxxx
Subject: Testsubject
User-Agent: Heirloom mailx 12.4 7/29/08
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20090612100147.8339B2EC003@xxxxxxxxxxxxxx>
From: root@xxxxxxxxxxxxxx (root)

Test text
END

$

Do you have any hint at what could be the problem?

I am using version 2.3.14

Many thanks,

Matteo


-- 
Matteo Corti
http://matteocorti.ch




----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux