procmail
[Top] [All Lists]

Re: adding an Expires: header...

2006-01-19 03:48:40
Am 2006-01-12 11:39:16, schrieb Don Russell:

Well... I found it... RFC2156 ( http://www.faqs.org/rfcs/rfc2156.html )

:-)

So... this lead me to thinking, "Why not add the same header with my 
procmail recipes, even if the message did NOT originate in an X.400 
environment? (Who cares where the message originated? It's on my system 
now, and I can programmatically predict when I no longer want it.)

I do the same, but use a realy unique Header like suggested
(X-$USER-Expires:) because I wo not want to run into trouble,
if someone sends an Expires: header.

Because I am using Maildir, it is realy easy to grep each hour all
messages and look to the Expiration Header to delete the message.

Of course, I don't have anything yet that actually DELETES the expired 
items... but at least the headers are there if/when I develop/find 
something... :-)

;-)

But, I also prefer to adhere to standards wherever possible...

You should use a REALY unique Expires: header for internal use.

Don

Greetings
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

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