cyrus, procmail and postfix
Casper
casper at snigelpost.org
Thu Nov 3 14:51:51 EST 2005
Johan Barelds wrote:
>Hi all,
>
>I know that this subject has been discussed before, but i can't find a
>solution and i am struggling with this problem.
>
>I am using cyrus and postfix for a while now but i want to start using
>$HOME/.procmailrc and /etc/procmailrc.
>
>I started with /etc/procmailrc but i don't get it to work.
>This is what my config files look like:
>
>/etc/postfix/main.cf
>mailbox_command = /usr/bin/procmail -a "$EXTENSION"
>
>/etc/postfix/master.cf
>procmail unix - n n - - pipe
> flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender}
>${recipient}
>
>/etc/procmailrc
>DELIVER=/usr/lib/cyrus/bin/deliver
>LOGFILE=/tmp/proclog
>LOGABSTRACT=all
>:0 c
>| $DELIVER -a mailings -m user.mailings
>
>Does anyone have a clue how to get this (and $HOME/.procmailrc) working?
>Thanks in advance.
>
>
>
In procmail rc look for the includerc option.
Example from master procmailrc
/etc/procmailrc
DELIVER=/usr/lib/cyrus/bin/deliver
LOGFILE=/tmp/proclog
LOGABSTRACT=all
INCLUDERC=/home/$user/.procmailrc ## <-
:0:
| $DELIVER $user
Just a start, but look in this direction and find what setup you need
and works for you.
/Casper
More information about the Info-cyrus
mailing list