procmailrc Problem

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
amiga1200
Posts: 213
Joined: 2007-01-13 19:58
 

procmailrc Problem

Post by amiga1200 »

Postfix- dovecot - spamassassin laufen soweit.

Sobald ich in der main.cf
mailbox_command = procmail -m /etc/procmailrc
einschalte, kommen die mails zurück, die zum Server gesendet werden (sabine@domaine.de)
im Log steht
0, status=bounced (can't create user output file)

in die dovecot.conf steht:
mail_location = mbox:~/mail:INBOX=/var/mail/%u
in die Master.cf steht
procmail unix - n n - 20 pipe flags=R user=sabine argv=/usr/bin/procmail -r SENDER=${sender} -t -m USER=${user} EXTENSION=${extension} /etc/procmailrc

user=sabine #leider weiß ich hier nicht, was hie rein kommt, deswegen erst mal mein Username


/etc/procmailrc

Code: Select all

LOGFILE=/$HOME/procmail.log

DROPPRIVS=YES
#DEFAULT=$HOME/Maildir/
:0fw: spamassassin.lock
* < 256000
| spamassassin

:0:
* ^X-Spam-Level: ***************
$HOME/Spam

:0:
* ^X-Spam-Status: Yes
$HOME/Spam

# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
# NOTE: This is probably NOT needed in recent versions of procmail
:0
* ^^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "

:0 fhw
| sed -e '1s/^/F/'

Kennt sich hier jemand aus?
Suse11
EdRoxter
Posts: 483
Joined: 2006-01-06 03:23
Location: Neben Bonn
 

Re: procmailrc Problem

Post by EdRoxter »

Das

Code: Select all

:0fw: spamassassin.lock
sieht nicht unbedingt so aus, als gehöre es dahin. Kommentier die Zeile mal hinter dem :0fw: aus und probier's nochmal.