Sunday, June 25, 2006

Sending Email with Postfix and PostfixEnabler on Mac OS X

I use my laptop in a number of different locations (work, studio, home, etc). Every place has a different network, and everything automatically works (auto-detects network settings) except Email. I have to *know* what the local SMTP server is so I can send mail from that specific network connection.

I was beginning to get frustrated at constantly changing my SMTP settings in Mail every time I connect to a different network. So I looked for a send mail solution. It turns out that Mac OS X has a sendmail server bult in, but it is not configured or running.

After a bit of a search around the 'net, I found PostfixEnabler. I downloaded it, ran it, paid for it, and hey presto! I can now send mails from anywhere because my laptop itself is my sendmail server!

I did have one small problem, and that was with the ADSL connection at home. For some strange reason, postfix would not recognise the auto DNS from the ADSL modem/router, like every other application did. Once I entered the DNS manually into the Network Settings, it started to work fine.

So now I have "postfix" running which accepts sending mail from the local machine regardless of what network I'm on. I can even send mail when I'm not on a network, and it sits in a queue until there is a network. Nice.