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

Re: postfix - procmail - Maildir Rechte Problem



Andreas Schmidt wrote:

>> ,----[ /etc/postfix/master.cf ]
>> | procmail  unix  -       n       n       -       -       pipe
>> |   flags=R user=root argv=/usr/bin/procmail -t -m USER=${user}
>> |   EXTENSION=${extension} /etc/procmailrc
>> `----
>> user=${user} funktioniert leider nicht
> 
> ich weiss nicht, ob das generell funktioniert; aber master.cf erscheint
> mir doch etwas ungewoehnlich fuer den procmail-Aufruf. Bei mir steht
> das in der main.cf:
> mailbox_command = /usr/bin/procmail
ich habe das aus einem HOWTO abgeschrieben und mit cyrus hat das alles
wunderbar geklappt, da alle mails dem user cyrus gehört haben und ich
procmail immer mit cyrus starten konnte.
in /etc/postfix/main.cf stand bis jetzt folgendes:
mailbox_transport = procmail
mailbox_command = /usr/bin/procmail -t -a "$EXTENSION"


Jetzige Konfiguration:

/etc/postfix/master.cf
        alles procmail betreffende auskommentiert

/etc/postfix/main.cf
        mailbox_command = /usr/bin/procmail -t -a "$USER"

/etc/procmail.rc
        USER=$1
        DROPPRIVS=yes
        [...]
        INCLUDERC=/home/$USER/.procmailrc 

und bisher waren alle Tests erfolgreich. Danke für den Tipp.

        Christoph



Reply to: