Incoming from James Sinnamon: > Karsten and others, > > Firstly, thank you all for the responses. > > On Mon, 12 Jul 2004 02:35 pm, Karsten M. Self wrote: > > on Sun, Jul 11, 2004 at 07:18:55PM +1000, James Sinnamon > <snip/> > > > > So could anyone tell me how they handle ever growing Mail > > > folders? Perhaps 'mutt' is the way to go? > > > > Procmail, or its equivalents. > > <snip/> > > On Sun, 11 Jul 2004 10:32 pm, S.D.A. wrote: > > What I do, is use a nice little utility called "archivemail" and set it up > > I take it that archivemail can handle mail folders and files which are
I don't know what he uses for archiving mail, but a shell script wrapped around gzip that appends mail to a gzip archive works well. cron runs mine: ------------------------------------------ PATH=/usr/bin:/bin MAILDIR=/home/keeling/Mail YEAR=$(date '+%Y') for f in abuse headhunters headhunter_reply procmail root spamcop-reports spam; do if [ -e ${MAILDIR}/${f} ]; then cat ${MAILDIR}/${f} | gzip >> /home/keeling/dox/archive_Mail/${YEAR}_Mail_${f}.gz sleep 2 sync ; sync ; sync echo "${0}: archived ${f} to: \$HOME/dox/archive_Mail/${YEAR}_Mail_${f}.gz" cat /dev/null > ${MAILDIR}/${f} fi done ------------------------------------------ If your MUA (mutt?) is smart enough, it can even read gzipped mail folders. -- Any technology distinguishable from magic is insufficiently advanced. (*) http://www.spots.ab.ca/~keeling - - -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]