procmail
[Top] [All Lists]

Re: adding an Expires: header...

2006-01-05 09:12:10
On 04 Jan 2006, at 04:26 , Dallman Ross wrote:

On Tue, Jan 03, 2006 at 11:11:16PM -0800, Don Russell wrote:

It works fine, but my question is: is there a better way?


:0
* ^From:(_dot_)*notifier(_at_)fbo\(_dot_)gov
{
   EXPIRE = `date --utc -R --date="+7 days"`
   :0 wfc
   | formail -I "Expires: $EXPIRE"

   :0 :
   MailingLists/fbo
}

Except for what seems to me to be an extraneous c-flag on your

I would simply add that X-Expires: or X-<user>-Expires: would be a  
better choice for an added header.


-- 
and I swear it happened just like this: / a sigh, a cry, a hungry  
kiss / the Gates of Love they budged an inch / I can't say much has  
happened since / but CLOSING TIME


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