procmail
[Top] [All Lists]

Re: Depositing instead of sending mail

2005-02-08 03:45:31
Toen wij Ruud H.G. van Tol kietelden, kwam er dit uit:
Doug Essinger-Hileman:

  :0 c:
  * ! ^X-Loop:.*$listowner
  |formail -a"X-Loop: $listowner"

I think that you want a filtering recipe.

   :0 fhw:
   * ! ^X-Loop:.*$\listowner
   |formail -a"X-Loop: $listowner"

Oops, forgot to adjust the condition-line a little more:

   * $ ! ^X-Loop:.*$\listowner

Doug, I added a '$' and a '\'. 

The '$' at the start requests one expansion of the 
variable expressions, before the condition is tested. 

The '\' disarms regex-characters. Add a 
  LOG = "listowner: $\listowner$NL" 
to see the effect.

-- 
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>