Hi list,

I have a not working procmail here... it delivers the mail, if I pipe
it manually, but fails, if postfix trys to...

if I put that here:
__________
>From [EMAIL PROTECTED]  Sat Feb  4 13:07:16 2006
Return-Path: <[EMAIL PROTECTED]>
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from lolo1992 (unknown [192.168.0.113])
        by lolo1992.dyndns.org (Postfix) with ESMTP id C35BAC2460
        for <[EMAIL PROTECTED]>; Sat,  4 Feb 2006 13:07:16 +0100 (CET)
Date: Sat, 4 Feb 2006 13:07:39 +0100
From: Lorenz =?ISO-8859-15?Q?Hopfm=FCller?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: hi
Message-Id: <[EMAIL PROTECTED]>
X-Mailer: Sylpheed version 2.2.0beta4 (GTK+ 2.8.11; i686-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

test...

_____________

Into procmail's stdin, everything works fine and the mail is delivered.

But if postfix calls procmail, procmail complains about a error while
creating /dev/null/.maildir... ;)

But DEFAULT should only be called, if all filters fail!?

postconf  | grep procmail
mailbox_command = /bin/bash -c "/bin/sed 1d | /usr/bin/procmail"

cat /etc/procmailrc

DELIVER="/usr/lib/cyrus/deliver"
LOGFILE="/tmp/procmail_log"

:0w
*^Delivered-To:[EMAIL PROTECTED]
| sed 1d | $DELIVER -e -a lorenz -m lorenz.Posteingang

:0w
*^To:[EMAIL PROTECTED]
| sed 1d | $DELIVER -e -a lorenz -m lorenz.Posteingang



Thanks,
Lorenz
----
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

Reply via email to