photo
Jordan Sissel
geek

Sat, 27 Mar 2004

nmh mail archiver

I went over quota. My mail backlog was 132 megs so it was time to archive mail.

This was built specifically for my needs but it'll work for any mh mailbox pending you know what to do...

mailarch script

Partial output from my run... (I only started using NMH in July)

fury(~) [34] > ./bin/mailarch
.archive+ has 3057 messages  (1-3469); cur=143; (others).
Jan.2003.tar:  scanning... no email this month.
Feb.2003.tar:  scanning... no email this month.
Mar.2003.tar:  scanning... no email this month.
Apr.2003.tar:  scanning... no email this month.
May.2003.tar:  scanning... no email this month.
Jun.2003.tar:  scanning... no email this month.
Jul.2003.tar:  scanning... tarring... bzipping... -  69 mail
Aug.2003.tar:  scanning... tarring... bzipping... -  140 mail
Sep.2003.tar:  scanning... tarring... bzipping... -  27 mail
Oct.2003.tar:  scanning... tarring... bzipping... -  246 mail
Nov.2003.tar:  scanning... tarring... bzipping... -  25 mail
Dec.2003.tar:  scanning... tarring... bzipping... -  189 mail
Jan.2004.tar:  scanning... tarring... bzipping... -  617 mail
Feb.2004.tar:  scanning... tarring... bzipping... -  811 mail
Mar.2004.tar:  scanning... tarring... bzipping... -  932 mail
Apr.2004.tar:  scanning... no email this month.
May.2004.tar:  scanning... no email this month.
Jun.2004.tar:  scanning... no email this month.
Jul.2004.tar:  scanning... no email this month.
Aug.2004.tar:  scanning... no email this month.
Sep.2004.tar:  scanning... no email this month.
Oct.2004.tar:  scanning... no email this month.
Nov.2004.tar:  scanning... no email this month.
Dec.2004.tar:  scanning... no email this month.

Comments: 0 (view comments)
Tags: , ,
Permalink: /geekery/107
posted at: 02:05


0 responses to 'nmh mail archiver'


Leave a reply

You need javascript enabled to use this form. Anti-spam efforts ongoing. Also, if the comment doesn't show up, it's because the form expired. Go back and copy your comment, reload the form, and resubmit. Apologies if this is a hassle, I'm just playing with antispam methods right now. If this insists on not working, please email me about it.

Name (required)
E-mail (optional, if you want me to be able to email you back)
URL (also optional)
Comment:


Search this site

Navigation

Metadata

Home About Resume My Code (SVN)

Articles

ARP Security Dynamic DNS with DHCP OpenLDAP+Kerberos+SASL PPP over SSH SSH Security: /bin/false Week of Unix Tools Work Efficiency

Projects

fex firefox tabsearch firefox urledit grok keynav liboverride newpsm (FreeBSD) nis2ldap pam_captcha poor man's backup Solaris audio utility xboxproxy xdotool xmlpresenter xpathtool misc scripts

Presentations

Yahoo! Hack Day '08 Yahoo! Hack Day '06 Unix Essentials Vi/Vim Essentials SSH Tunneling (Video)

Tag Cloud

Calendar

< March 2004 >
SuMoTuWeThFrSa
  1 2 3 4 5 6
7 8 910111213
14151617181920
21222324252627
28293031   

Friends

BarCamp Kent Brewster Tantek Çelik John Resig Wesley Shields Tyler Shields

Technorati