--As off Wednesday, November 19, 2003 7:42 PM +0530, Ramprasad A Padmanabhan is alleged to have said:

I would like to write a program that deletes all mails from my
popserver which are older than 'n' days

Is there a script available already. If I were to write a script
using   Mail::POP3Client , I would have to fetch the headers of all
mails and the parse mail headers

Is there no module that can return all mails recd before a
particular date

--As for the rest, it is mine.


What format is the mail stored in? If it is Maildir, this is simple. (Depending on your needs I have a program, or you can use 'find'.) Other formats are harder, as they need something that can parse the mail format, or work through the POP interface.

Daniel T. Staal

---------------------------------------------------------------
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to