procmail
[Top] [All Lists]

RE: How to get a word out of email body

2007-06-25 11:30:08
Alex Kosach schrieb am Monday, June 25, 2007 7:07 PM:

Doe anybody knows a logic or may suggest a recipe of how to get a last
word (Myname) from the email like that:

Your mail to the following recipients could not be delivered because
they are not accepting mail from someone(_at_)somewhere(_dot_)com:
      Myname


  SPACE = ' '
  TAB   = '     '  #make sure it's a tab char and not spaces

  :0 B
  * H ?? ^FROM_MAILER
  * $ ()\<Your mail (.+$)*(_dot_)*(_at_)[^$WS]+:$.+\/[^$WS]+
  { SOMENAME = $MATCH }

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