PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix -> Procmail -> Cyrus IMAP Problem: Procmail



buzz59
18.05.05, 12:41
Hallo,

Ich möchte mit Procmail Die ankommenden Mails von Postfix in die einzelnen IMAP Postfächer verteilen.
Postfix bekommt die Mails aus einem Sammelordner in eine Mailbox.
Das heißt Procmail müsste die Mails vom orginal_to sortieren.

Im Moment läuft Procmail nicht:
Aus der .log:
procmail: Couldn't read "/home//.procmailrc"
couldn't connect to lmtpd: Permission denied
procmail: Program failure (75) of "/usr/lib/cyrus/bin/deliver"
Subject: test
Folder: /usr/lib/cyrus/bin/deliver -e -a -q -m user. 1323

/etc/procmail/procmailrc


# #####
# /etc/procmail/procmailrc
# #####

# --- Initialisieren ---

# Procmail
LOGFILE="/var/log/procmail.log"
VERBOSE=off

# Mailbox-Zustellung
DELIVERMAIL="/usr/lib/cyrus/bin/deliver"
INBOX="$DELIVERMAIL -e -a $USER -q -m user.$USER"
SPAM="$INBOX.Spam"

# --- From-Zeile löschen, ---
# --- sonst funktioniert cydeliver nicht !! ---
:0fw
| formail -f -I "From "

# --- procmailrc des Empfängers berücksichtigen ---
# - Vorgabe durch Administrator: -
#INCLUDERC=/etc/procmail/$USER.procmailrc
# - Einstellbar durch Benutzer selbst: -
INCLUDERC=/home/$USER/.procmailrc

# --- Spam in eigenen Ordner sortieren ---
:0w
* ^X-Spam-Flag: YES
| $SPAM

# --- an INBOX zustellen ---
:0w
| $INBOX

# --- und Schluss ---
:0w
{
EXITCODE=$?
HOST
}

# #### EOF /etc/procmail/procmailrc ####

/home/root/.procmailrc

######
# /etc/root/.procmailrc
# #####

# Diese Datei wird in die globale procmailrc eingebunden,
# bevor die Zustellung an die "Standard"-Mailbox erfolgt.

# #### EOF /etc/root/.procmailrc #######

In der main.conf steht noch mailtransport: procmail

Hat jemand eine Idee?

grüß buzz