procmail
[Top] [All Lists]

Subject Rewrite and Move

2007-01-13 13:29:50
I have the following in my recipe:

#------------------------------------------------------------
#  DOMAIN.com Directory Move
#------------------------------------------------------------

  :0 fw
  * ^To:(_dot_)*\(_at_)domain\(_dot_)com
  |sed -e 's/^Subject:[   ]*/Subject: [DOMAIN] /'
  $DOMAIN


The $DOMAIN is set properly.  The log shows that |sed... is being
processed, but the $DOMAIN instruction is being bypassed and mail is
going into the inbox.

Am I missing something?

I love that sed line because I can filter mail into one inbox and
at-a-glance see which email it came from.

Thanks all!

Jamie

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