cellio: (avatar)
Monica ([personal profile] cellio) wrote2005-01-16 03:27 pm
Entry tags:

LJ and mail problems

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.

[identity profile] tangerinpenguin.livejournal.com 2005-01-16 08:49 pm (UTC)(link)
I get very, very little spam at my gmail address, and what I do get is autofiled pretty effectively by their filter (in fact, I've had to "rescue" something I'd actually opted into once or twice.)
siderea: (Default)

[personal profile] siderea 2005-01-17 02:36 am (UTC)(link)
Um, I'm confused about what you want. It is possible that if I understood it, I could make it happen for you.

To have an email address which receives a cc and automatically deletes it, one needs two things. The first is a way to split your mail stream and send a copy of everything to the backup site. It sounds like pobox.com does this for you?

The second thing you need is a target account with an automated, asynchronous deletion thingy. A shell account with procmail will do that for you handily. The part I am unclear on is whether you have such an account available for you already, or whether you're willing to pay for such a thing.

If you have such a resource, I can go kick around and generate the procmailrc to do what you want.

The question is just where you want your point of failure to be (speaking as someone who has done a lot of just this sort of thing, for just this sort of reason.) There is always a single point of failure with an email address. That's just how it is. It is possible to have the procmailrc live on the same server (or even be the same script as) the mail splitter. But that might not move your single point of failure where you want it.

siderea: (Default)

[personal profile] siderea 2005-01-17 03:31 am (UTC)(link)
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?

siderea: (Default)

[personal profile] siderea 2005-01-17 04:03 am (UTC)(link)
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?

siderea: (Default)

[personal profile] siderea 2005-01-17 03:37 am (UTC)(link)
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?
siderea: (Default)

[personal profile] siderea 2005-01-17 04:37 am (UTC)(link)
(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.


geekosaur: Mr. Yuk (US CDC poison "mascot") (mr.yuk)

[personal profile] geekosaur 2005-01-17 05:07 am (UTC)(link)
I hope it's not Panix, whose domain an unscrupulous registrar allowed to be stolen (no, it didn't expire; they simply gave the domain to someone else without authorization and without telling anyone) and is now being decidedly unhelpful about setting things to rights. :( Speaking of deceptive....

[identity profile] goldsquare.livejournal.com 2005-01-17 01:48 pm (UTC)(link)
The ACLU has, apparently, also been doing background investigations into their donors attempting to find out more information about them and finding relatives that might also wish to contribute.

They still do good work, but I'm not so happy at how they do it.
madfilkentist: (Default)

[personal profile] madfilkentist 2005-01-18 08:16 pm (UTC)(link)
The AAA sent me a bogus expiration notice this month.