procmail
[Top] [All Lists]

Re: Can't change the Subject:

2005-07-14 02:07:10
Michael Bluejay schreef:

I'm trying to write a recipe to prepend a word to the SUBJECT: line.
This ought to be simple but I can't get it to work.  I've scoured the
web but most of the documentation is over my head, and what I did try
didn't work.

  :0 fhw
  * spamtest
  * ^Subject: \/.*
  | formail -I "Subject: SPAM - $MATCH"


procmail: Match on "^Subject: *\/[^ ].*"
procmail: Executing " $FORMAIL -I "Subject: $TAG - ${MATCH:-<no
subject>}""
/bin/sh: -I: command not found

Your $FORMAIL is empty.

-- 
Grtz, Ruud

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