procmail
[Top] [All Lists]

Re: Piping a message to a script, but it doesn't run

2009-03-25 22:10:57
On Thu, Mar 26, 2009 at 03:04:22AM +0100, Dallman Ross wrote:

   SPACE = ' '
   TAB   = '  '
   WS    = $SPACE$TAB

   :0
   * $ ^Reply-To:.*\/[^$WS<([]+(_at_)[a-z0-9_-]+[(_dot_)][a-z]+
   /path/to/"$MATCH"

The condition needs to be revised to handle multipart
domain names such as user(_at_)foo(_dot_)bar(_dot_)example(_dot_)com:

   * $ ^Reply-To:.*\/[^$WS<([]+@([a-z0-9_-]+[.])+[a-z]+

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