Re: [Clip] Removing 550's
- At 10:57 PM 6/25/2003 -0400, you wrote:
>I am trying to find a way to write a clip that will remove the e-mailhere starter idea. gets bounced into a list. if they sometime come more
>address from bounced e-mail with 550's (user unknown). I want to find the
>line with the error "550 <abc@...>... User unknown" and extract just
>the e-mail address "abc@...". What I don't want is all the other
>e-mail addresses in the e-mail, just the bounced one.
>I want to save all the bounced e-mails into one file and extract the
>bounced addresses into one list so I can remove them from my mailing lists.
than one email addr to a line then well that might change things. But
(source doc or file) one addr to a line, works.
# begin sample tested the clip on #
error "550 <abc@...>... User unknown"
error "550 <thistoo@...>... User unknown"
trre er rtre tt.
NOT no prerequisite five fifty <notthis@...> dj sdkkaj.
fjjlsda scjsdj 550 fgj.
550 error 550 <thisthree@...>... User unknown yy. 005
# end sample tested the clip on #
^!Find "error\s+.?550\s+" ISR
; ^!Info ^$GetWord$
; ^!Info ^%addr%
; -----<end clip------