Re: cyrus, procmail and postfix

From: Casper (no email)
Date: Thu Nov 03 2005 - 14:51:51 EST

  • Next message: David Blewett: "RE: Formatting Messages"

    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

    ----
    Cyrus Home Page: http://asg.web.cmu.edu/cyrus
    Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
    List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
    

  • Next message: David Blewett: "RE: Formatting Messages"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD