procmail
[Top] [All Lists]

Re: new user question...

1996-12-05 15:26:17
Chris Kantarjiev wants a setup like this:

  :0chw
  * conditions
  | formail -rD ...
   :0e
   action if sender wasn't in cache yet
    :0E
    action if sender was already in cache

| ... but I can't get it to trigger. The documentation
| for the E flag seems to indicate that this is the way to use it ... what am
| I missing?

There are some quirks with `A', `a', `E', and `e'.  Try it this way and see
if it helps:

  :0chw
  * conditions
  | formail -rD ...
   :0a
   action if sender was already in cache
    :0E
    action if sender wasn't in cache yet

If not, let's bullet-proof it:

  :0
  * conditions for comparing to the cache in the first place
  {
   :0
   * ? formail -rD ...
   | action if already in cache

   :0E
   | action if newly added to cache
  }

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