cellio: (avatar)
[personal profile] cellio
Apparently I'm one of the lucky folks on the MadCow cluster, the one that was broken more badly than all the others. Oh joy. Glad it's back up earlier than predicted, anyway.

To add insult to injury (well, injury to insult is more like it), my mail provider seems to have stopped receiving incoming mail several hours into Shabbat. After Shabbat, when I discovered the problem, I set up pobox.com to mirror to a second address, but I'm missing the mail that arrived up to that point. I hope it's in a queue somewhere and not gone forever. I also hope they respond to my report soon; while I realize it's Sunday, it's been (at this writing) 16 hours since I made the report and well more than 30 hours since the failure occurred.

A service that I would really like to have, but lack the technical skills to implement myself, is an inbox buffer. The problem with mirroring the pobox redirection to the mailbox that comes with my DSL is that if I don't remember to clean it out periodically, it fills up and starts bouncing. I could use gmail on the theory that a gig is forever, but the vast majority of my mail is spam and I don't want it getting in the way of my real mail if I actually want to use that service for searching. So what I'd really like to have is an email address that receives mail and automatically deletes it a week later; that gives me a backup that I can check if for any reason my primary email is unavailable, but it runs on auto-pilot the rest of the time.

Vaguely on the subject of mail, I got (physical) mail this week from the ACLU telling me it's time to renew my membership. Just one problem: I'm not a member of the ACLU. I really expected better behavior out of folks who claim to be fighting the good fight. Deceptive marketing practices do not endear them to me.

(no subject)

Date: 2005-01-17 03:31 am (UTC)
siderea: (Default)
From: [personal profile] siderea
Aha! OK.

The ISP I use, nyip.net, has a $54/year model that will do you, I think. It has only 350MB space; would that be an adequately large buffer?

Regardless of where you go, I will go cook up a procmail script for you. (I think there's pretty much an example in the man page that will do the trick.)

What format mailbox would you like your mail stored in in your backup system? Are you familiar with the Unix flavors of mail box?

(no subject)

Date: 2005-01-17 04:03 am (UTC)
siderea: (Default)
From: [personal profile] siderea
The answer to the second question is "no", and thus the answer to the first one is "I have insufficient clues to answer that". What are the relevant factors?


The inbox for my current primary mailbox is a text file in /var/mail; I don't see any special sequences at the beginning of it, but if you tell me what to look for I could try to figure out what it is. Pine knows how to parse it, and that's been good enough for me. :-)


Ah, you want a standard spool. No problem. If you have a file with some other name, you can get pine to read it? Or get it to where pine can read it?

(no subject)

Date: 2005-01-17 03:37 am (UTC)
siderea: (Default)
From: [personal profile] siderea
OK, the man page example is a backup of the last N msgs on a rolling basis. Would that be OK, or do you want it by last N days?

(no subject)

Date: 2005-01-17 04:37 am (UTC)
siderea: (Default)
From: [personal profile] siderea
(Now, with correct formatting!)

It turns out that by day works better with standard spools. :) Righto. I think this will do what you want, but you want to test it before relying on it:

1) Make a directory called "Mail" or whathaveyou, which shall be henceforth referred to as "$MAILDIR"

2) In $MAILDIR, make a directory called "Backup".

3) In the root of your homedir (or wherever your sysadmin tells you is the place procmail will look for recipes) put the following into a file named .procmailrc:
:0 c
$MAILDIR/Backup/spool_`date +%F`

:0 i
| cd $MAILDIR/Backup && rm -rf dummy `ls -t spool_* | sed -e 1,14d`
The "1,14d" in that last line is what tells is how many days worth of spools to keep around; it's specifying 14, salt to taste. This recipe should result in a a different spool for each day, with all the day's mail going into a spool called $MAILDIR/Backup/spool_$yyyy-$mm-$dd. It keeps the last 14 of these around on a rolling basis, checking with every email that comes in.

No, I haven't tested it. :) It is based on the man page example.


Expand Cut Tags

No cut tags