procmail
[Top] [All Lists]

Re: Extracting a word from the Subject Line

1996-09-10 23:27:09
Subject:  Much Big News #1234xxx

I think we all forgot the obvious procmail way:

  :0
  * ^Subject:.*#\/[^    ]+
  { PASSWORD=$MATCH }

With procmail 3.10 or later; "\/" is the beginning of the MATCH
variable, with lazy matching afterward. 

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