procmail
[Top] [All Lists]

Re: Bypass large files with filter

2006-01-25 09:19:45
David W. Tamkin schreef:

      {SWITCHRC} # go to user's .procmailrc

First of all, aren't spaces (or newlines or tabs) needed around the
braces?

Oops, yes!


      :0
      * > 150000
      {
        DROPPRIVS = 'yes'
        :0:
        $DEFAULT
        :0:        # if delivery failed, try $ORGMAIL
        $ORGMAIL
        # if delivery failed again,  go to user's .procmailrc
        SWITCHRC
      }

Clean, but I still prefer what Dallman meant to suggest:

    :0
    * > 150000
    { SWITCHRC }    # go to user's .procmailrc, if existing,
                    # else deliver to $DEFAULT (?)

(in the top of /etc/procmailrc)

-- 
Grtz, Ruud

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>