Just use a cron to rename the <incoming.mbx> file to <date>.mbx (e.g.
20040102.mbx) every night and delete all files older than <x> days. That's
what I do for imail on windows, but maybe you can use that for exim, too.

/robert

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Liu
Shuai
Sent: Freitag, 2. Januar 2004 21:42
To: Dave Weiner; [EMAIL PROTECTED]
Subject: RE: [SAtalk] A cron job to delete old spam?



> -----Original Message-----
> From: Dave Weiner [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 02, 2004 2:51 PM
> To: Liu Shuai
> Subject: Re: [SAtalk] A cron job to delete old spam?
>
>
> On Friday 02 January 2004 14:45, Liu Shuai wrote:
>
> > Thank you for your suggestion, Rick.
> >
> > Correct me if I am wrong, wouldn't all messages stored as one
> file? So even
> > if I have old
> > tagged message two weeks ago, the last changed time of that spam
> > folder(mailbox) won't be
> > the same if I got more spam later.
>
> BINGO!  Not running qmail :)
>
> Liu, could you tell us a little about your setup?  What OS, MTA
> and MDA are
> you using?

Sorry, my bad... I didn't realize the different format between maildir and
mbox.

I am using exim on exim 4.24, as a part of cPanel 8.5, on RH 8.0(Kernel
version: 2.4.18-14smp).
To my knowledge, exim handles mail filtering and delivery and the format of
mailbox is mbox.

I probably should have called it spam box instead of spam folder?

LS



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to