procmail zusammen mit cyrus-imap und Postfix wie den ?
Hallo Zusammen, Wie bekomme ich die procmail oder andere Fonction als ersatzt meines procmail filters wieder eingebaut in das system Postfix mit cyrus-imap und amavis-new. Danke für die Hinweise. Patrice
Am Mittwoch, 17. März 2004 13:51 schrieb Patrice Staudt:
Wie bekomme ich die procmail oder andere Fonction als ersatzt meines procmail filters wieder eingebaut in das system Postfix mit cyrus-imap und amavis-new.
----------------------------------------------------------------------------------------- main.cf: mailbox_transport = procmail ----------------------------------------------------------------------------------------- master.cf: procmail unix - n n - - pipe flags=R user=cyrus argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} ${mailbox} ${user} ----------------------------------------------------------------------------------------- procmailrc: SHELL=/bin/bash DELIVER=/usr/lib/cyrus/bin/deliver SENDER=$1 RECIPIENT=$2 MAILBOX=$3 USER=$4 :0:$USER.lock * ....... | $DELIVER -a $USER -m user.$USER.folder ----------------------------------------------------------------------------------------- Ausserdem musst Du noch deliver das suid-bit geben. -- Andreas
Am Mercredi 17 Mars 2004 14:52 schrieb Andreas Winkelmann:
Am Mittwoch, 17. März 2004 13:51 schrieb Patrice Staudt:
Wie bekomme ich die procmail oder andere Fonction als ersatzt meines procmail filters wieder eingebaut in das system Postfix mit cyrus-imap und amavis-new.
--------------------------------------------------------------------------- -------------- main.cf: mailbox_transport = procmail --------------------------------------------------------------------------- -------------- master.cf: procmail unix - n n - - pipe flags=R user=cyrus argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient} ${mailbox} ${user} --------------------------------------------------------------------------- -------------- procmailrc: SHELL=/bin/bash DELIVER=/usr/lib/cyrus/bin/deliver SENDER=$1 RECIPIENT=$2 MAILBOX=$3 USER=$4
:0:$USER.lock
* .......
| $DELIVER -a $USER -m user.$USER.folder
--------------------------------------------------------------------------- --------------
Ausserdem musst Du noch deliver das suid-bit geben.
Hallo Andreas, Ich habe es so angepasst und siehe da es geht fast : -( 0A28781EB 910 Wed Mar 17 21:00:01 root@engsystem.net (temporary failure. Command output: procmail: Couldn't read "/etc/ procmailrc" ) staudt@engsystem.net Die Rechte sind : -rw------- 1 root root 458 Mar 17 20:49 /etc/procmailrc Oder soll das alles cyrus gehören? Danke nochmals Gruss Patrice
participants (2)
-
Andreas Winkelmann
-
Patrice Staudt