procmail
[Top] [All Lists]

Re: Good evening :) Have a recipe question..

2005-01-16 07:06:59
Toen wij Glenn Sieb kietelden, kwam er dit uit:

  :0:
  * ^X-Original-To:(_dot_)*account+lj(_at_)wingfoot(_dot_)org$
  {
    LOG="(Account-LJ) "
    :0
    $MAILDIR/.LJ/
  }

Alternative:

   :0
   * ^X-Original-To:.*\<account\+lj(_at_)wingfoot\(_dot_)org\>
   .LJ/
   :0A
   { LOG = "(Account-LJ)$NL" }

1. your 't+' means 1 or more times 't'
2. your '.' means 'any character'
3. maybe there is a '>' or even whitespace between the 
   .org and EOL
4. no need for '$MAILDIR/'
5. a NewLine often brightens up your log
6. no need to indent :)

-- 
Grtz, Ruud (with sunglasses)

____________________________________________________________
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