[prev in list] [next in list] [prev in thread] [next in thread]
List: procmail
Subject: Re: expiring SPAM in Maildirs?
From: doug () safeport ! com
Date: 2008-08-21 5:24:44
Message-ID: 20080821012209.H89946 () pemaquid ! safeport ! com
[Download RAW message or body]
On Tue, 15 Jul 2008, LuKreme wrote:
> On 15-Jul-2008, at 19:43, Michael J Wise wrote:
>> Pay particular attention to the + and -s args.
>> But personally, when I had to do this years ago, I wrote a Perl script that
>> looked for the '^From ' header, grabbed the date/time, figured out how old
>> it was, and then did or did not copy it to the output. Don't forget to use
>> lockfile first to make sure no mail is delivered to it while you're doing
>> the swap.
>
> Ah, that's what I was afraid of. Yeah, I've been down that path, and there
> there be dragons and all sorts of other madness.
>
>> This issue alone was reason enuf to specify Maildir as the mail store
>> format of choice forever anywhere I had a say in the matter.
>
>
> I still have a few mbox accounts, but I'm getting rid of them as fast as I
> can.
SPAMDIR=spam`date +%m%y`
then delete files older than the desired interval
_____
Douglas Denault
http://www.safeport.com
doug@safeport.com
Voice: 301-469-8766
Fax: 301-469-0601
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic