EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

Enable Postfix mail on Mac OS X Tiger

2006-08-15 13:05:08

I got my shiny new Mac Pro. It's wicked fast. But now I get to find all the obscure modifications I made to my old machine over the last 2.5 years, and figure out how to reapply them.

First, increase the stupidly low process limit.

Next, enable Postfix (thanks to Mac OS X Tiger for Unix Geeks):

Edit /etc/postfix/main.cf and set up these variables:

# my machine name is "buffy"
myhostname = buffy.example.com
mydomain = example.com
myorigin = $mydomain

If you want mail forwarded to yourself (if you have cron jobs that will send mail to your local account, for example), edit the aliases file:

# put your local aliases here 
billo:  [email protected]

Now you need to start postfix:

sudo postfix stop
sudo postfix start

Finally, you need to put postfix start in a startup script in /Library/StartupItems. Left as an exercise to the reader.