On 22 October 2001, Lance Hoffmeyer <[EMAIL PROTECTED]> wrote:
> I have a global procmailrc I created which I execute with fetchmali.
> It works somewhat but all mail seems to go to the Debian folder?
> What do I seem wrong in this?
> 
> PATH=path/mail
> SHELL=/bin/sh
> HOME=path/mail
> DELIVER="/usr/sbin/cyrdeliver"
> SPAM=/dev/null
> LOGNAME=$LOGNAME
> 
> 
> 
> :0:lance.lock
> * ^To:|^cc:|Cc:.*debian-user
> | tail +2 | $DELIVER -e -a lance -m Listserv.Debian

    This doesn't really make sense, does it?  Procmail regexps are
case-insensitive by default, and "|" has a very low precedence.  Try
something like:

        :0:
        * ^(To|Cc):.*debian-user@
        | ...

    Better yet, use the predefined macro "^TO_":

        :0:
        * ^TO_debian-user@
        | ...

    Better yet, ;-) use the "Sender:" header.

    Regards,

    Liviu Daia

> :0:lance.lock
> * ^To:.*strawbale
> | tail +2 | $DELIVER -e -a lance -m Listserv.Strawbale
> 
> :0:lance.lock
> * ^To:.*mutt
> | tail +2 | $DELIVER -e -a lance -m Listserv.muttuser
> 
> :0:lance.lock
> | tail +2 | $DELIVER -e -a lance -m user.lance

-- 
Dr. Liviu Daia               e-mail:   [EMAIL PROTECTED]
Institute of Mathematics     web page: http://www.imar.ro/~daia
of the Romanian Academy      PGP key:  http://www.imar.ro/~daia/daia.asc

Reply via email to