About Brad

All-around tough guy.

Getting S/MIME in Mail.app working again…

So, for over a year I had my personal certificate for signing/encrypting email working just fine in Mail, but today I got cute and tried to update my personal certificate to include my GMail account. When I deleted my old Thawte personal email certificate from Keychain Access, I screwed up and deleted the personal certificate ALONG with the X509Anchors entries for Thawte. This was crucial, because when I created the new/updated certificate at Thawte and went to import it back into Keychain Access, it imported fine, but Thawte didn’t replace my X509Anchors entries. Hence, when I fired up Mail, the padlock S/MIME icons weren’t appearing for signing and encrypting individual messages. After pulling my hair out for too much time wondering why the buttons weren’t showing up, I finally got smart and hopped on another Mac I have and I exported the Thawte certificates from the X509Anchors in Keychain Access and imported them back on to the machine that I impaired.

After doing this, my new/updated certificate now works flawlessly (and I switched to CACert now too, so we’ll see how this goes). Figuring out the X509Anchors deal helped me to get CACert certificates working as well. The signing/encryption buttons don’t show up in Mail unless you have corresponding entries in the X509Anchors keychain for the Certificate Authority you wish to add personal certificates for…

Fans running continuously on MacBook Pro Core 2 Duo

So, a mere 5 days after running my new MacBook Pro, I got to work today and booted the computer from a shutdown state. I was greeted with fans running continuously, at full speed. I thought it was strange, so I restarted while resetting the PRAM. No effect. Next, I reset the Power Manager using these instructions:

1. Shutdown MacBook Pro.
2. Remove power and battery.
3. Hold power button for 5 seconds.
4. Insert battery and power and turn MacBook Pro back on.

Everything is peachy again, but a little concerning…

Also, before the fans ran continuously, my trackpad was exhibiting strange behavior. There was a one second or more delay when I attempted to use the trackpad after using the keyboard. By fixing the Power Manager, it appears the trackpad issue has gone away as well.

Possibly related side note… I did bike to work today with my MacBook strapped to my back. I had it in a backpack inside 2 jackets that covered my upper body. The temp outside was 35 degrees. After arriving at work, the MacBook felt like room temperature, so I don’t think I exposed it to any severe conditions.

Stay tuned…

How to convert .pst archives, to .dbx, to .mbox files for use with Mail on Mac OS X

I was struggling with converting a .pst archive to a .dbx (so I could bring a huge .pst archive over to Mac OS X and Mail.app). It turns out to be really easy.

1. Open Outlook (in my case Outlook 2003) and open your .pst archive. Next, go to Tools->Email Accounts, click the radio button for “View or Change existing email accounts”, and then under “Deliver new email to the following location” you should choose the name of your .pst archive (in my case it was called “Personal Folders” (see screenshot). You’ll get some warning about all new incoming mail going to your .pst archive, but just continue, as we’re almost done with the repugnant odor otherwise known as Outlook.

2. Open Outlook Express (if you can’t find Outlook Express, go to Start->Run, type in msimn.exe, and press OK to launch it if it exists somewhere on your machine), choose File->Import->Messages->Outlook and then choose the mailbox you want to import (or all of them if you must).It took about an hour and a half, using a speedy IBM ThinkPad T42, to pull in an archive over 1 GB, but it did it eventually…

3. Before you quit Outlook Express, go to Tools->Options->Maintenance->Store Folder and note your file path to where your .dbx files are kept (mine is “C:\Documents and Settings\bschwie\Local Settings\Application Data\Identities\{3203D4E4-3933-4654-8ACC-63655A457D5D}\Microsoft\Outlook Express”).Next, to convert the .dbx files into .mbox files, grab “DbxConv”, a DBX to MBOX converter by Ulrich Krebs. Toss DBXconv into the same folder as all of your .dbx files, open a DOS prompt, navigate to the directory that contains the folder full of .dbx files and DbxConv, and then run the following command:dbxconv -mbx *.dbxDepending on how large your .dbx files are, this may take a while (I had a 1.5 GB file that took a half hour). After they are converted, rename the file ending for each file from .mbx to .mbox…

4. After the .dbx files are converted, move the folder containing the .mbx files to your Mac (finally!). On your Mac, renamed all the .mbx files to .mbox. Fire up Mail on your Mac and go to File->Import Mailboxes->Other and then navigate to the folder containing all the .mbx files. All the .mbox files will be grayed out, but just click the “Choose” button and the next window in Mail will show you all the .mbox files it can convert (it will ignore the .dbx files if they are present). Click the OK button to begin importing… Again this may take a bit depending on the processor inside your Mac.Alternative ending… If you aren’t able to get DBXconv on to your PC you can fire up Entourage on your Mac, instead. To go this route, skip steps 3 and 4 above and while you’re in Outlook Express, make a folder on the desktop and drag all the mail messages that you want to convert to the folder on the desktop. Then, transfer this folder containing all your messages in .eml files to your Mac. Fire up Entourage and drag and drop these .eml’s. Once they’re all converted (Entourage may appear to lock up, just be patient), you can export from Entourage to an .mbox file for Mail.

Yahoo Mail Beta and MacFreePops login problem

Here’s what I did to get my Yahoo Mail importing into Mail.app with the latest Yahoo.lua 0.1.9d for FreePOPS (or MacFreePOPS).

I opened yahoo.lua and changed line 252 from:

strRegExpWebSrvUrl = “webserviceURL: ‘([^’]+)'”,

to:

strRegExpWebSrvUrl = “webservice: ‘([^’]+)'”,

Then I downloaded Firefox 1.5.0.7, switched on the Yahoo Mail Beta, and then turned it back off.

Next, I quit my mail client and quit FreePops (in my case, MacFreePOPS).

Finally, I launched MacFreePops and then fired up my mail client, Mail.app again. Everything started downloading like the old days!!!

OpenSSH on Mac OS X error

So, I was fooling around and installed OpenSSH 4.3p2 using darwinports on my PowerBook. Something got hosed up, because I suddenly couldn’t connect to my own machine any more when I entered the following:

Brad-and-Tinas-iMac:~ bschwie$ ssh -vvv localhost

I got this:

OpenSSH_4.2p1, OpenSSL 0.9.7i 14 Oct 2005
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to localhost [::1] port 22.
debug1: Connection established.
debug1: identity file /Users/bschwie/.ssh/identity type -1
debug3: Not a RSA1 key file /Users/bschwie/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type ‘—–BEGIN’
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type ‘Proc-Type:’
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type ‘DEK-Info:’
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type ‘—–END’
debug3: key_read: missing keytype
debug1: identity file /Users/bschwie/.ssh/id_rsa type 1
debug3: Not a RSA1 key file /Users/bschwie/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type ‘—–BEGIN’
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type ‘Proc-Type:’
debug3: key_read: missing keytype
debug2: key_type_from_name: unknown key type ‘DEK-Info:’
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type ‘—–END’
debug3: key_read: missing keytype
debug1: identity file /Users/bschwie/.ssh/id_dsa type 2
ssh_exchange_identification: Connection closed by remote host

To fix this issue, I had to do the following:

Brad-and-Tinas-iMac:~/.ssh bschwie$ sudo mkdir /var/empty
Brad-and-Tinas-iMac:~/.ssh bschwie$ sudo chown root:sys /var/empty

Maybe this file got blown out by darwinports? I don’t know…

RAZR v3c Firmware Upgrade

For people looking to upgrade their Verizon issued Motorola RAZR v3c to the latest .04 firmware, download it here. If you want the ability to transfer files with OBEX, be sure to downgrade your phone to the .02 firmware first and then upgrade to .04.

Snoogle Saves Lives… And Knees

My lovely bride gets all the credit for this hint… My painfully swollen knee badly needed elevation after my ACL reconstruction revision that was performed two days ago by the wildly famous Dr. Dreamy (aka Dr. Chris Meyer) (and no, I didn’t pick out his nickname). I think Tina noticed that I was struggling to keep a pillow beneath my knee as I laid in bed, but it just wasn’t working as my knee/leg continuously rolled off. She warmly made a recommendation to shove the Snoogle underneath my knee for a little cuddly elevation. Sure enough, she was right! The Snoogle keeps my knee in place without causing any pain.

For anyone that is going to go through an ACL surgery, get a Snoogle! You’ll be glad you did.

Lucent Wavelan Silver/AirPort Card Update

I installed the former Wavelan Silver PC Card guts in my friend’s mom’s iMac G3 last Thursday evening. The card isn’t fully seated, but it appears to be functioning correctly! For people concerned about getting the card fully seated, it would be best to clip off one of the plastic AirPort card holder’s that is attached to the board (its whitish-transparent plastic that is only useful if you want to give the true AirPort card more support). Still, without clipping this plastic support, the card seats 90% of the way.

AirPort Card for $30. Done.

If I ever stop back over there, I’ll snap some pictures and post back.

Lucent Wavelan Silver is AirPort Card Substitute

A friend of mine wanted to install an AirPort Card in his mother’s old iMac G3 so she could get wireless internet access. We checked on eBay and the going rate for an AirPort card was well over $130. Online stores weren’t any better with one place listing a card at $180! Great Zeus! This made me pretty mad knowing that an elderly lady couldn’t get wifi on her Mac for less than a hundred dollars. So, when I got home, I vented my anger by tearing apart a Lucent Wavelan Silver PC Card. After the guts of it were exposed, I tossed it into my iMac G4, rebooted, and BAM! The iMac acknowledged it as a native Apple AirPort Card. I haven’t installed it in her iMac G3 yet, but I’m very confident it will work. The great thing about this is, these cards can be had for less than $25 with shipping via eBay, so this solution even trumps the silly Sony Vaio PCWA-150S as the cheapest AirPort alternative I can find.