--===============73734882053178552== Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_RuPY/zlCOIY8BjV"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit --Boundary-02=_RuPY/zlCOIY8BjV Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Description: signed data Content-Disposition: inline On Thursday 11 Sep 2003 1:59 am, CP Hennessy wrote: > Hi, > I am a happy KMail user. > However I have a request ( OK, so why else would I be here :) > I have one of my filtered mail boxes which contain over 27000 mails > and even though once it's loaded it's fine, it's the amount of memory that > it uses to get these which is a bit of a pain ( roughly 64 MB ). > Now what I'm think of doing is to implement an "archiving" function. Already available as open source, free and with no compilation / dependencies / binaries (as it's in Perl): MHonArc. For an example of just one installation using MHonArc, see http://www.dclug.org.uk/index.html http://www.dclug.org.uk/archive/threads.html MHonArc will archive messages direct from a KMail directory using a simple bash command: mhonarc -rcfile mhonarc.mrc -mhpattern '^[^\.]' ~/Mail/folder/cur/ --outdir ./mhonarc/ > It's not going to be very sophisiticated ( I really don't think it has to > be ), but what I'm thinking of is an option on the context menu in the > folder pain which would allow you to archive all of the emails ( No need - MHonArc can run manually or via cron and it can also keep the archive up-to-date as new emails arrive. > configurable but probably from 4 weeks previously ). The archive would be a > folder somewhere up the folder tree ( i.e. towards "Local Folders" ). Simple HTML - then you can use Apache/Perl to search the entire archive. > I don't yet have any code but I have been looking at KMail. So if anyone is > interested, or can point me in the right direction ( maybe someone already > has something sitting on their harddisk ?), I'd appreciate it. Sitting on many servers as well: http://www.mhonarc.org/ > Anyway I'll have to implement something before my folder reaches 30000 ( > only a few weeks away ). Don't re-invent the wheel - MHonArc will process all those messages in less than 3 minutes. It also deals with other mail clients and folder types. -- Neil Williams ============= http://www.codehelp.co.uk http://www.dclug.org.uk http://www.biglumber.com/x/web?qs=0x8801094A28BCB3E3 --Boundary-02=_RuPY/zlCOIY8BjV Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA/YPuRiAEJSii8s+MRAouSAKCKs3MmlDN24z1HavUr34CmBjpodACdF1K7 qfpBMT321gUoPcZvlBGl58U= =4xjt -----END PGP SIGNATURE----- --Boundary-02=_RuPY/zlCOIY8BjV-- --===============73734882053178552== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ KMail Developers mailing list kmail@mail.kde.org http://mail.kde.org/mailman/listinfo/kmail --===============73734882053178552==--