David Gessel

fixing GeoIP for awstats

Monday, October 22, 2007 

https://web.archive.org/web/20101102191506/http://forum.maxmind.com:80/viewtopic.php?t=27 helped, but the real key was hardcoding the database location in geoip.pm line 63: if (! $datafile) { $datafile=”GeoIP.dat”; } to if (! $datafile) { $datafile=”/path/to/GeoIP.dat”; } .

Posted at 10:45:14 GMT-0700

Category: FreeBSDTechnology

Eliminating Spam with Procmail and SpamAssassin

Thursday, October 18, 2007 

For years I’ve fought spam with all sorts of techniques, some limited server side tricks in setting my postfix rules to very strict adherence and using RBLs, but ultimately settling on whitelist filtering on my Trusty Eudora client, POPping all that spam over whatever airport international dialup I happened to be on and cursing it even as it disappeared into the UBC folder for bulk deletion.

And I dreamed of the day when I would switch to IMAP and set up all those cool anti-spam server-side techniques I’d been reading about, primarily SpamAssassin. The problem with spam filtering is that it often catches your friends.

So I found this great procmail filter that whitelisted on the server side and sent confirmation requests to unlisted addresses. So I installed Procmail on my server, then SpamAssassin, and rewrote the filter below to do just what I wanted:

My .procmailrc

Read more…

Posted at 20:49:37 GMT-0700

Category: FreeBSDTechnology

Night in YYZ

Tuesday, October 16, 2007 

The view from our hotel is very nice. They put us on the 20th floor with a balcony overlooking downtown Toronto.

{vidavee id=”2927″ w=”320″ }

Posted at 17:35:07 GMT-0700

Category: HotelsTravelvideo

Mizu YYZ

Monday, October 15, 2007 

IMG00181.jpg

We had a lovely dinner at Mizu on King St. in Toronto. Very good, very fresh Sushi and a very nice owner who kindly shared with us his two favorite sushi restaurants in Toronto:

  • Kazi Sushi in Queen’s Way
  • Hiro Sushi on King St. East
Posted at 20:25:15 GMT-0700

Category: NeutralphotoRestaurantsReviewsTravel

Courier IMAP 4.2.0 breaks SSL-Authd on 993

Sunday, October 14, 2007 

Updating to Courier IMAP 4.2.0_1 broke authentication with SSL on 993 for roundcube (and perhaps others) but not for Thunderbird. The following worked for me:

Change:

TLS_PROTOCOL=SSL3

to:

TLS_PROTOCOL=SSL23

in /usr/local/etc/courier-imap/imapd-ssl

(from this fine site)

Posted at 13:12:47 GMT-0700

Category: FreeBSDTechnology

Old Weang Ping

Saturday, October 13, 2007 

Dinner at Old Weang Ping, maybe the best Thai restaurant in the bay area. 510-430-8771

IMG00177.jpg
Posted at 19:15:15 GMT-0700

Category: GeopostphotoPositiveRestaurantsReviewsTravel

My guelph

Thursday, October 11, 2007 

Sleep walking Guelph.

IMG00171.jpg

This is pretty much the main thoroughfare. It seems all the retail is in a few malls. I’m sure I’ll learn more over the next few days. The waitresses at Moxies are cute.

Posted at 05:35:15 GMT-0700

Category: photoPlacesTravel

Google desktop search IE only????

Tuesday, October 9, 2007 

Google Desktop Search

Google desktop search works in IE only? It doesn’t work in firefox? I thought their corporate mantra was “do no evil.” Could they be any more evil than that? HOW LAME! I’d buy X1 if it wasn’t having problems with it’s Thunderbird indexing. Why oh why can’t I just have OnLocation back?

Posted at 22:30:37 GMT-0700

Category: ReviewsTechnology

I hate thunderbird

Monday, October 8, 2007 

So once, long ago, I moved to IMAP on my server. I wanted to move there with my trusty Eudora client that I’ve been using since about 1993. Sure, I flirted with other mail systems, but they screwed me and what I care about most was:

  1. Never Lose Data (early versions of Thunderbird were not so good about this for me)
  2. Search my several gigabyte database of mail fast enough to be useful.

Now outlook is absolutely intolerable about this last point. Search in all Microsoft products, indexed or not, is so painfully slow one might as well go on vacation. It is incomprehensible to me how it can suck so bad. I remember in 1990 using OnLocation and searching my entire computer (all 20MB of it) in a fraction of a second. Sure it was less data, but it was also doing it on a 33Mhz 68030.

Eudora lets me find my mail. Eudora lets me get my job done. Unfortunately Eudora can’t search an IMAP mailbox unless it is connected. WTF?

OK, time for Thunderbird. But Thunderbird is so not ready for prime time. There’s the massive delays to open any of my larger mailboxes, even to show titles (14,000 messages in a mailbox is NOT too many, who uses this? Kids?) Second it gets confused easily communicating with the IMAP server which tends to lock it up indefinitely. Still, it does cache locally and the built-in search, while interminably slow is faster than Microsoft Search (but doesn’t search across accounts! Hello!). I’m hoping Google Desktop Search will help. Initial results are promising. And Penelope could be very cool. Especially if they add indexed search.

One little change I had to make for Thunderbird was given at this fine site:

perl -p -i -e 's/^MAXDAEMONS=40/MAXDAEMONS=80/g' /usr/local/etc/courier-imap/imapd

perl -p -i -e 's/^MAXPERIP=4/MAXPERIP=40/g'  /usr/local/etc/courier-imap/imapd

Update - 9/9/2010

I’m now using Thunderbird (3.1).  It hasn’t lost data yet.  It has a nice fast search.  I still don’t like it as much as Mulberry for basic mail functions, but it shows pictures in line and I can quickly toggle between HTML mail (to insert inline pictures and screen grabs) and text mail.

These are useful basic features and I wish Mulberry had them.

Posted at 15:45:05 GMT-0700

Category: FreeBSDReviewsTechnology

One very tired fish, a bit overdue to be soup.

Saturday, October 6, 2007 

Very tired fish

Cambridge Fishy… Fishy fishy fishy…

Oh shit! It’s mr. Creosote! Play dead.

Posted at 18:45:15 GMT-0700

Category: Funnyphoto