procmail
[Top] [All Lists]

Re: adding a missing Date: header

2008-10-03 19:28:23
On Fri, Oct 03, 2008 at 01:56:05PM -0500, A. Lester Buck III wrote:

  :0 fhw:
  | formail -a "Date: ${DATE_}" -a "X-Date: added date header"

There is no need to lock a filter. Also, you're only sending the header
to the pipe, so I believe you're going to lose the body of the message.
The incantation should be:

    :0 fw
    | formail -a "Date: ${DATE_}" -a "X-Date: added date header"

See if that works for you.

-- 
"Oh, look: rocks!"
        -- Doctor Who, "Destiny of the Daleks"

____________________________________________________________
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