wonko.com

The eclectic musings of a bitter software engineer.

Postfix

Sunday July 23, 2006 @ 10:01 PM (PDT)

Many years ago, a tribe of cannibals abducted me, strapped me to a chair, put me in front of a FreeBSD machine, and forced me to go without food, water, or pie until I had configured a working Sendmail server with SMTP authentication, TLS, and anti-spam features. After several days of intense, searing pain, I achieved victory, and the cannibals sent me on my way, scarred for life.

Ever since then, every mail server I've set up has used Sendmail. People told me Postfix and Qmail were easier to use, but I laughed at them. I had conquered Sendmail. I knew how to make it do my bidding. It had been a long, hard battle, but Sendmail was my bitch. Why would I want to start all over with something else?

And yet, every time I set up a Sendmail server, something inside me twitched, as if Satan himself had just bitten off a tiny piece of my soul. In spite of my hard-won Sendmail expertise, I knew, deep down inside, that there were better tools out there. Tools that I could use, if I would only commit to learning them. But then I remembered the pain involved in learning Sendmail. I didn't want to go through that again.

Nevertheless, the time came when I realized that Sendmail just wasn't capable of meeting my growing needs. Good MySQL integration, flexible virtual domains, the ability to reload config files without restarting the server, sensible config file syntax...Sendmail had none of these things.

I decided it was time to learn Postfix.

Today, I went from knowing nothing about Postfix to having a complete, working Postfix server with all the bells and whistles, doing everything Sendmail had ever done for me and quite a bit more, in about two hours. And it didn't hurt at all.

I <3 Postfix.

Comments

I've always wondered why you've laboured with sendmail.

Also, don't forget to add a better security posture to your list of benefits to moving to postfix.
Monday July 24, 2006 @ 03:36 AM (PDT) Posted by davedub

You no longer have to work with a settings file designed by an insane person.

Monday July 24, 2006 @ 07:49 AM (PDT) Posted by dar

a quick howto for the people who don't get postfix that much, I've set it up on my VPS and it worked, then I changed some settings and it now rejects all mail....

Monday July 24, 2006 @ 12:32 PM (PDT) Posted by Conor

There are tons of howtos out there.

I reckon your problem lies either in the smtpd_x_restrictions settings or in your access list. Also, be sure to look at the system's mail log; that should tell you why the mail was rejected.

Monday July 24, 2006 @ 12:53 PM (PDT) Posted by Ryan Grove
Post a comment

Basic XHTML (including links) is allowed, just don't try anything fishy. Your comment will be auto-formatted unless you use your own <p> tags for formatting. You're also welcome to use Textile or Markdown.

Don't type anything here unless you're an evil robot:


And especially don't type anything here:

Copyright © 2002-2008 Ryan Grove. All rights reserved.
Powered by Thoth.