procmail
[Top] [All Lists]

Re: adding a missing Date: header

2008-10-03 16:45:04
On 3-Oct-2008, at 12:56, A. Lester Buck III wrote:
:0
* ! ^Date:
{
  DATE_=`ruby -e "require 'time'; print Time.now.rfc2822"`

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

Seems to work.


--
"Katrina, $4 gas, a trillion dollar war, rising unemployment,
     deregulated housing market, global warming...NO MORE!"
     http://is.gd/2mxY



____________________________________________________________
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