Hi,

i don't know wether i can give you the write answer, but 
cyrdeliver ist a suid program cyrus.mail under debian.

i also deliver throw the postfix -> procmail -> cyrus
with the following procmailrc's

no problem with that.


------------------------
/etc/procmailrc

# some basic definitions
PATH=/usr/local/bin:/usr/bin:/bin
SHELL=/bin/sh
# some standard deliver queues
DELIVER="/usr/sbin/cyrdeliver -a ${USER}"
SPAMIT="${DELIVER} -m user.${USER}.SPAM"
# Logging stuff
LOGFILE=/var/log/procmail/procmail-${USER}.log
# set to yes for debugging
#VERBOSE=yes
VERBOSE=no
# include the user-defined filter-rules
INCLUDERC=/etc/procmail/procmail.${USER}
########################################
# Some general SPAM-Recipes
########################################
#INCLUDERC=/etc/procmail/default_spam
# Deliver to users inbox if no filter matched
:0w:${USER}.lockfile
| ${DELIVER} -m user."${USER}


-------------------------
examples of my private procmail
#DELIVER="/usr/sbin/cyrdeliver -a $USER"
MLIST="${DELIVER} -m user.${USER}.mailinglists"

### filtering mlist DaLUG
:0
* ^(Reply-To|To|Cc):[EMAIL PROTECTED]
| ${MLIST}.DaLUG
### filtering debian-boot
:0
#* ^(Reply-To|To|Cc):[EMAIL PROTECTED]
* ^X-Mailing-List:[EMAIL PROTECTED]
| ${MLIST}.Debian.boot

--------------------------
entry in postfix/master.cf

procmail  unix  -       n       n       -       -       pipe
  flags=R user=cyrus argv=/usr/bin/procmail -t -m USER=${user} \
EXT=${EXTENSION} /etc/procmailrc

--------------------------
postfix/main.cf
mailbox_transport = procmail


that should work

hope it helps

greetings

sven


Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to