Kfir Lavi <[EMAIL PROTECTED]> writes: > On Wednesday 06 October 2004 10:58, Vasiliev Michael wrote: > > On Wednesday 06 October 2004 10:14, Kfir Lavi wrote: > > KL> Hi, > > KL> how do i filter an mbox file to delete all messeges that are older then > > a KL> month ? > > > > Why not use the old message expiry feature in your kmail? > I'm using IMAP, and the there is no such option for IMAP folder to delete old > mail. It do have this option for other folders that are not IMAP folders.
Oh, so all the suggestions based on scriptology were useless because you don't have normal file-level access to your mbox?... Then I suspect that either you will find a mailreader that will do what you want or you will have to display some ingenuity. Try using fetchmail(1) with --all and --nokeep in conjunction with some MDA that will return success only on old messages while forward them to /dev/null. Check the RETRIEVAL FAILURE MODES section of man fetchmail. -- Oleg Goldshmidt | [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]