procmail
[Top] [All Lists]

formail -I

2002-04-07 08:05:00
Hi freedom fighters,

I am testing the following on my provider's side,

NL="
"
WSP="[  ]+"
NWSP="[^        ]+"

:0
*
^TO_()\/procmail(@(informatik|lists)\.rwth-aachen\.de|-users(_at_)procmail\(_dot_)org
)
{
  :0
  * ! ^Reply-To:
  { LOG="--- add Reply-To: "$MATCH$NL }
  :0 A fh w
  | formail -a "Reply-To: "$MATCH

  # unset SUBJectTail
  SUBJT

  :0
  *$ ^Subject:$WSP\/$NWSP.*
  { SUBJT=" "$MATCH }

  :0 fh w
  | formail -I "Subject: [procmail]"$SUBJT
}

but get the following error in the log:
| Usage: formail [-vbczfrktqY] [-D nnn idcache] [-p prefix] [-l folder]
|         [-xXaAiIuU field] [-R ofield nfield]
|    Or: formail [+nnn] [-nnn] [-bczfrktedqBY] [-D nnn idcache] [-p
prefix]
|         [-n [nnn]] [-m nnn] [-l folder] [-xXaAiIuU field] [-R ofield
nfield]
|         -s [prg [arg ...]]
| procmail: Program failure (64) of "formail"
| procmail: Rescue of unfiltered data succeeded

The "formail -a" succeeds, the "formail -I" doesn't.

What could cause that?

Ruud


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>