Archive for December, 2004

Dec 31 2004

Holidays and mail delivery…

Published by Andrew under Uncategorized

I was flipping through the mail I had just brought in from the mailbox, standing by the front hall table.
“That must be yesterday’s mail.” Mom says.
“No, it’s today’s mail.”
“There’s no mail delivery today.” she says.
“Why wouldn’t there be mail delivery today?” I ask.
“It’s a holiday.”

“No, tomorrow is the holiday.”
“Tomorrow is Saturday.” she answers. “So the holiday is observed today.” (She’s apparently forgotten that the post office delivers on Saturdays.)
“No, it’s today’s mail.”
“It can’t be. It’s yesterday’s mail. We’re a day behind bringing the mail in from the mailbox.”
“It can’t be yeseterday’s mail. Dad brought the mail in from the mailbox last night when he got home.” I remind her.
“But that was from the day before.”
Not believing Mom could make such an error in reasoning I point out “Mom, he brougth the mail in last night. Therefor once he brought the mail in, regardless of when it was delivered, the mailbox was empty. Therefor any mail that was in it when I went out to check it had to have been delivered today.”
“…. Do you have to apply logic to this argument?”

No responses yet

Dec 26 2004

Indian Ocean earthquake

Published by Andrew under Uncategorized

My thoughts and prayers go out to the thousands of dead and their families in Sri Lanka, Indonesia, India, Thailand and all around the Indian Ocean.
May the dead find peace in the arms of whichever diety they worship. May the living not long be displaced from their homes. May we in the Western world do all we can to assist our brothers and sisters of the East.

No responses yet

Dec 25 2004

MT and LJ cross posting

Published by Andrew under Uncategorized

So, after much fid’ling with my sandbox install of MT I got it to cross-post to Live Journal correctly. Making the, as it turned out, bad assumption that making the SAME changes on my live MT install would have the same result, I discovered it needed even more fiddeling.
Finally I have it working though. Now if I could just solve the problem of Smarty not recongizing any tag created by a 3rd party tag…

No responses yet

Dec 23 2004

LJ Crossposting and MTIfCategory

Published by Andrew under Uncategorized

I finally got this thing to cross post to Live Journal the way I’ve wanted to all along.
Previously I was using the LJCrosspost plugin in my individual archives template to cross post every entry to LJ. I didn’t really like that solution, as I wanted to be able to select which entries were cross posted and which stayed exclusivly here.
Finally I found Brad Choates “Category Tools” plugin which added the “MTIfCategory” container tag (a tag that should have been in the main MT code base all along), which appeared to give me exactly what I was looking for. Problem is it just didn’t work.

After much poking and prying, I finally notied in his documentation on that tag the part about “(in the context of a category archive template)”. DOH!
Anyway, moving the code snippit from the individual archive template to the category archive template (along with the addition of the MTEntriesHeader tag) solved the problem.

No responses yet

Dec 22 2004

Broken blog

Published by Andrew under Uncategorized

If you’ve clicked on any of the “permalinks” in my blog lately you may have noticed some of them are slightly broken (they link to a page of plain text, rather than properly rendered, with CSS and what not.) I’ve been working on my templates and getting the LJ cross posting plugin to work in a way that makes sense to me. In the process I’ve broken something in the build engine. I’m working on it. At the moment it’s not properly cross posting to LJ either.

No responses yet

Dec 13 2004

Setting up Postfix with Courier-IMAPD, vmail, mysql and Mailman

Published by Andrew under Uncategorized

Tip: When attempting to set up a http://www.postfix.org/ system with http://www.inter7.com/courierimap/INSTALL.html, mysql backend, http://www.probsd.net/vmail/ admin and http://www.gnu.org/software/mailman/, do not do something stupid like, say, adding your REAL hostname to the list of VIRTUAL domains in vmail. Bad things happen.
It took me a long time to figure out why my otherwise perfectly functioning postfix system would not deliver mail to my otherwise perfectly functioning Mailman system when I sent mail to the test mailing list I created. “test@redlance.pure-chaos.com” would bounce. The log indicated it was trying to deliver to “test@redlance.homeunix.org”, which of course didn’t exist. (The whole purpose of this exercise is to have a system where two or more virtual domains can have mailing lists with the same local address, something you can’t do with Sendmail).

Here’s how it breaks down:

Per http://mail.python.org/pipermail/mailman-users/2002-September/022370.html (and many other fine sites) you have to add the following to Mailman’s mm_cfg.py:

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['dom2.ain', 'dom3.ain']

Replacing “dom2.ain” and “dom3.ain” with whatever virtual domains you’re hosting that you want to allow to have mailing lists.

The part they DON’T mention is that you ALSO have to have

add_virtualhost('www.dom2.ain', 'mailserver.dom2.ain')
add_virtualhost('www.dom3.ain', 'mailserver.dom3.ain')

To map the web host of your virtual domain to it’s corresponding mail server. This is obvious if you read through the Mailman docs on the subject, but both the docs and every web site I’ve found on the subject of Mailman and Postfix imply that POSTFIX_STYLE_VIRTUAL_DOMAINS takes care of that for you. Not true. You need BOTH steps.

Finally, once you’ve got that done, and you’ve made the correct changes in postfix’s main.cf to work with mysql, vmail and mailman, do not, repeat DO NOT add your “real” host name in the vmail admin interface. This adds your “real” host to virtual hosts. Thus when mail for a mailing list on your virtual host arrives, Postfix will process the mail through virtual_maps, find the correct local address, tack on the “real” host name, then attempt to process THAT address through virtual_maps again, where it will fail, instead of processing through alias_maps to get to Mailman.

eg: My real hostname is “redlance.homeunix.org”. I created a test list on my virtual host, redlance.pure-chaos.com. “test@redlance.pure-chaos.com” is a mailman list.
Mail from andrew@pure-chaos.com to test@redlance.pure-chaos.com arrived at redlance.homeunix.org, postfix processed it, found “test@redlance.pure-chaos.com” in virtual_maps, which mapped it to “test”. Since there was no FQDN part, it added the “real” hostname, so it became “test@redlance.homeunix.org”. Since I’d added redlance.homeunix.org to vmail, it then proceeded to look for “test@redlance.homeunix.org” in virtual_maps and failed, bouncing the message, rather than looking for “test” in alias_maps, where it would have piped it through Mailman.

Lesson learned. Hopefully someone else who is beating their head into a brick wall will find this post and gain clue quicker than I did.

Tues: finish this project by making sure Procmail delivery and Spamassassin work correctly. If all goes well, Wed night I will roll this out on the live server.

No responses yet

Dec 12 2004

If you have recently received spam from the address <andrewATpure-chaos.com> and it says it’s

Published by Andrew under Uncategorized

If you have recently received spam from the address <andrewATpure-chaos.com> and it says it’s from anyone other than “Andrew Edelstein”, it did NOT come from me. In the last week I’ve seen a huge increase in the number of bounce messages that come back to me because some spammer is putting my email address on their spam.

Scratch that. If you get ANY spam AT ALL from pure-chaos.com, it is not really from pure-chaos.com. I am the ONLY person at this domain, and I do not send spam.

No responses yet

Dec 09 2004

Christmas Wish List

Published by Andrew under Uncategorized

This is mostly for my own thoughts (it’s getting to that time where people start askign “what do you want for Christmas”), not a narcisistic “give me gifts!” post…

Electronics / Electrical:
An iPod
Hand held GPS receiver (preferably one that can connect by USB to a laptop)
An electric beard/mustache trimmer.
A USB keychain drive (just big enough to hold PuTTY, ssh keys, pgp/gpg keys, Firefox and Thunderbird profiles, a copy of my resumé, etc.)
An immersion / “stick” blender.
An LCD computer monitor. Or get my 21″ Viewsonic monitor fixed.

Music / DVDs:
The soundtrack to The Man of La Mancha (the 1972 movie version with Peter Otoole and Sophia Loren, or the 1965 broadway version, not the 2000 TV version with John Lithgow and Vanessa Williams, which I already have and was deffinitly not what I thought it was when I bought it.)
While we’re at it, a DVD of the 1972 movie.
Guess Who’s Coming to Dinner
A Raisen in the Sun (Preferably the 1961 movie with Sidney Poitier, though I’ve never actually seen the 1989 TV version with Danny Glover…)
To Kill a Mockingbird (the 1962 movie version.)
LOTR: The Two Towers and Return of the King
Firefly
Babylon 5: Season 2
Any Fish CDs (except: Internal Exile, Vigil in a Wilderness of Mirrors, Pigpen’s Birthday, Kettle of Fish and Sunsets on Empire.
Any Marillion CDs.
Any Rush CDs except Roll the Bones or Test for Echo.
Wynton Marsalis, Standard Time, Vol. 2 .
The Matrix: Revolutions and Reloaded DVDs.

Misc:
A good tripod and head for a 35mm camera (Bogen / Manfroto?)

Books:
A copy of The Grapes of Wrath (paperback).

Games:
A replacement copy of the Civilization: Call To Power for Linux CD.
Doom III and/or Half-Life 2.
Magic cards (yeah, I know, I know. I haven’t actually played that game in years, but I recently found a group who plays regularly.)
And while we’re at it, Illuminati cards.

And any one reading this who might have a reasonable expectation of receiving a gift from me for the holidays (you know who you are), it would be helpful to know what YOU want as well.

No responses yet

Dec 02 2004

UCC - “God is still speaking” campaign

Published by Andrew under Uncategorized

After seeing this mentioned in two seperate blogs I follow (LJ user Joedecker and Al-Muhajabah), I was pleasantly surprised to actually see this ad on TV just a few minutes ago. Apparently the Hallmark Channel has no qualms about inclusiveness.
(OK, looking a little closer at the UCC page with the ad, it mentions that the Hallmark channel, among others, accepted the ad.)

I’ll take a moment to point out that my own church, the United Methodist Church, has a very open door policy. (It’s in our slogan, after all. “Open hearts. Open minds. Open doors.”)

No responses yet

Dec 02 2004

Spammers should be shot

Published by Andrew under Uncategorized

It’s not bad enough I keep getting spam advertising child porn, now I’m getting the fallout from spam advertising child porn… that says it’s from me.
Well, luckily the “fallout” is just the bounce messages, but the idea that someone is sending child porn spam with my email address on it really, really pisses me off.

No responses yet