Hi Charles,
Just wondering, how do i check if a file (or a mail) is X days old.
I need to do something like this for one of my domains at a customer's
request. I wish to delete all mails of a domain that is 14 days old. Please
tell me how is this possible.
I am also using SQWebmail as my online email client. The last time i deleted
a mail from the directory "cur" or "new", SQWebmail still reported as the
mail being there although i did not get any error msgs when i popped my
mailbox.
Pls help.
Thanks
Sunil
>From: Charles Cazabon <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: Can I force a download on POP
>Date: Fri, 20 Apr 2001 14:52:30 -0600
>
>Medi Montaseri <[EMAIL PROTECTED]> wrote:
> >
> > I was wondering if there is a way (at the server) to force a download of
> > messages fetched with POP clients. I know the client can be configured
>to do
> > so. But I'd like to be sure,hece doing it at the server level.
>
>No, there's no technical solution. You need an administrative solution,
>such
>as telling your users "All messages will be deleted from the server when
>they
>are X days old", where X is 7, or 10, or 3, or whatever fits. You then set
>up
>a cronjob to look through all the user's Maildir/{cur,new}/* and delete any
>file older than X days every night at midnight or something.
>
>Charles
>--
>-----------------------------------------------------------------------
>Charles Cazabon <[EMAIL PROTECTED]>
>GPL'ed software available at: http://www.qcc.sk.ca/~charlesc/software/
>Any opinions expressed are just that -- my opinions.
>-----------------------------------------------------------------------
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.