Problem with deliver
Sven Wilhelm
wilhelm at icecrash.com
Sat Jul 19 08:46:13 EDT 2003
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):.*dalug at mathematik.tu-darmstadt.de*
| ${MLIST}.DaLUG
### filtering debian-boot
:0
#* ^(Reply-To|To|Cc):.*debian-boot at lists.debian.org*
* ^X-Mailing-List:.*debian-boot at lists.debian.org*
| ${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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : https://lists.andrew.cmu.edu/mailman/private/info-cyrus/attachments/20030719/0b08dcb8/attachment.bin
More information about the Info-cyrus
mailing list