Slashdot Mirror


Postfix

honestpuck writes "After many years bashing my head against sendmail in all it's gory details I had amassed a fair amount of knowledge and documentation on handling the Mail Transfer Agent (MTA) in Linux and Mac OS X. This caused a fair amount of teeth gnashing when I discovered it had gone the way of all flesh in OS X Panther to be replaced with Postfix." To un-gnash his teeth, honestpuck used Kyle D. Dent's Postfix: The Definitive Guide (published by O'Reilly); read on for his review of the book. Postfix: The Definitive Guide author Kyle D. Dent pages 260 publisher O'Reilly and Associates rating 8/10 - Excellent book, a little thin on details in a few places reviewer Tony Williams ISBN 0596002122 summary An excellent guide to installing, configuring and running Postfix

Fortunately, my first needs were simple and I came to realise that Postfix was a much easier system to install and maintain. Now that my needs are more complex, I was glad when this book hit my desk at exactly the same time as I started upgrading the corporate servers from Mac OS 9 to OS X Server.

Postfix: The Definitive Guide seems to fit the bill. It is a well-written and well-constructed guide to mail systems in general and Postfix in particular. (Oh, and speaking of definitive, could someone at O'Reilly provide a definitive answer to both reviewers and their own editors as to that colon? This is the second 'Definitive Guide' I've reviewed in as many months, and they are sprinkled with instances of each book's title, sometimes including that colon, sometimes leaving it out.)

The book starts with a good overview of the underlying technology in Chapters 1 and 2. I can't blame Dent for my slight confusion in the section on addresses and headers - having RFC822 superseded by RFC2822 was just a little too much coincidence for this particular "bear of little brain." He then follows it with a chapter discussing Postfix's architecture, important since Postfix uses a much more modular approach than the sendmail monolith, with each part of the mail handling process a different executable and the single queue turned into five.

Once the background is well covered, Dent then gets onto the nitty-gritty of configuring and administering Postfix. He has certainly covered everything I needed, including spam handling, multiple domains, relaying, SASL authentication and using LDAP. Once I'd finished grokking all that, and getting it integrated into my servers, I had a corporate email system up in three sites that replaced and improved upon a couple of thousand dollars worth of proprietary dreck. Happy is an understatement.

Dent's writing is sometimes a little patchy, though never bad. The technical detail does seem overpowering in places, though, and I occasionally found myself reading a section through more than once with a configuration file open in front of me. There are certainly spots where a little more hand holding and care with the writing would have been appreciated. (If you are a little more cognizant of the interstices of mail systems then you may not have the same problem.)

I did, however, appreciate the appendices enormously. The four appendices cover configuration parameters, Postfix commands, installation, and an FAQ. My system came with Postfix compiled and installed just as I required it so I didn't get a chance to thoroughly test out Dent's installation procedure (though it looks good); the other three continue to be useful.

If you want to have a look for yourself, then the usual O'Reilly page is complete with a table of contents and index, but this time no example chapter is provided (how come, O'Reilly?). You can also get an expanded version of the FAQ in Appendix 4 from Dent's website. A better example of Dent's writing style is an excellent article on troubleshooting with Postfix logs at O'Reilly's Onlamp.com.

This is an excellent book, Dent has explained the underlying methodology and use of Postfix well, taken the reader through all aspects of this MTA system and explained both the why and the how. I would recommend this book (and, as a result Postfix) to anyone looking for an MTA and a guide to configuring and running it.

You can purchase Postfix: The Definitive Guide from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

161 comments

  1. Postfix Enabler by momerath2003 · · Score: 5, Informative

    Mac OS X users can find a cool, donation-ware (read: non-crippleware) GUI for the buil-in postfix server, Postfix Enabler. It allows some advanced configuration of the postfix server.

    It has some handy instructions for setting up Mac OS X's Mail.app to interface with the Postfix server as well.

    --
    I had but a simple dream, to destroy all humans.
  2. beats the hell outta sendmail... by Chuck+Bucket · · Score: 5, Interesting

    after admin'ing sendmail for two years, I switched to Postfix a month ago, and wow, what a difference. recommended, and I'd think a book would only be needed for someone that was deploying this in a large organization.

    CB

    1. Re:beats the hell outta sendmail... by cayenne8 · · Score: 5, Informative

      Yup...was very new to setting up an email server. I found this thread very helpful for setting up a simple home email system. Also way down in the thread is help and links for using spamassasin and other heuristic spam filters...

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    2. Re:beats the hell outta sendmail... by Anonymous Coward · · Score: 1, Interesting

      I fought sendmail's bugs/exploitable holes until 1997 or so, when I gave up and moved us to qmail. Postfix was called "vmailer" back then and wasn't quite ready, but it would probably be my first choice now.

    3. Re:beats the hell outta sendmail... by pdp11e · · Score: 3, Informative

      I agree. There is a world of difference between the Postfix and Sendmail.
      Many years ago I was "vi /etc/whatever" kind of guy whenever a service needed to be configured or tweaked. As I've got older I've learned to appreciate good tools for the system administration. One of the best (IMHO) is the Webmin. It has an awesome Postfix configuration module and it takes 10 minutes to have (non-trivial) mail-server up and running. But even with the Webmin Sendmail is still a bitch to configure.

    4. Re:beats the hell outta sendmail... by wohlford · · Score: 5, Informative

      I'm a real big fan of Security Sage's postfix configuration. The cover pretty much everything interesting regarding Postfix except LDAP. Jason

      --
      Jason Wohlford
    5. Re:beats the hell outta sendmail... by Simon+Garlick · · Score: 1

      My kingdom for a mod point. Parent is bang on the money, Security Sage is a great resource for new Postfix users.

    6. Re:beats the hell outta sendmail... by adamruck · · Score: 2, Informative

      If you wanna spend a couple of bucks, try cpanel. Its webmin on steriods.

      --
      Selling software wont make you money, selling a service will.
    7. Re:beats the hell outta sendmail... by Chuck+Bucket · · Score: 1

      Funny, I used that exact same thread! between the Gentoo HOWTO pages, and the forums, setting up postfix was simple. Glad others are having the same experience.

      CB

  3. I'm not trolling, really... by SharpFang · · Score: 4, Interesting

    ...but comparing how complex sendmail configuration is, and how simple is it to configure Postfix, does a guy who ate his teeth on Sendmail really need -a book- to learn something SO much easier?
    (while Sendmail config file reminds raw binary, Postfix is all easy, understandable and well commented options)

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
    1. Re:I'm not trolling, really... by pe1chl · · Score: 2, Insightful

      Does anybody edit sendmail.cf directly?

    2. Re:I'm not trolling, really... by Anonymous Coward · · Score: 1, Interesting

      Yes. I do.

      I tend to make a ridiculous number of changes to the .mc file, but inevitably I find one or two things that are just easier to change in .cf.

    3. Re:I'm not trolling, really... by zulux · · Score: 5, Funny

      Configuring sendmail is easy!

      dd if=/dev/random of=./sendmail.cf

      then hit Ctrl-C when you think you have enough configuring done. Small installs need about 30 seconds, enterprise installs need a few minuites.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    4. Re:I'm not trolling, really... by Anonymous Coward · · Score: 1, Interesting

      For our internal clients I have a hand written sendmail.cf files that does some simple checks and then forwards it to our central server.

    5. Re:I'm not trolling, really... by M.+Silver · · Score: 4, Interesting

      We bought the book, since we're switching from Sendmail to Postfix Real Soon Now, and you're right. We really didn't need it. "Thin on details" meant, for me, "thin on all the details that were the whole reason for buying the book instead of just reading MAN PAGES. GEEZ!"

      It's a nice, well-written book. It just should have been "Learning Postfix." And then I would have known not to buy it.

      "Practical mod_perl" is another misnamed book. It's really "Practical[ly everything you could ever need to know about running an Internet server that happens to have] mod_perl [on it.]" Heck, I bet it'll tell me how to run Postfix in the next chapter or so. In more depth than the Postfix book.

      --

      Slashdot's token middle-aged housewife
  4. it took you this long to switch from sendmail? by Vellmont · · Score: 4, Insightful

    I thought everyone without a huge legacy setup had switched from the archaic sendmail to something decent like postfix, or qmail long ago.

    A few years ago I simply wanted to re-write my host.domain.tld address on outgoing email to be simply host.tld. I bawked at the stupidities of learning a crappy sendmail language, then re-compiling it into yet another crappy language just to do this. A friend told me about postfix, and I've never looked back. I think only the massochistic, or those hopelessly lost in a legacy sendmail mess use sendmail these days.

    --
    AccountKiller
    1. Re:it took you this long to switch from sendmail? by chef_raekwon · · Score: 4, Insightful

      I thought everyone without a huge legacy setup had switched from the archaic sendmail to something decent like postfix, or qmail long ago.

      am i the only dork that decided to learn sendmail, and now have no issue with its configuration??
      sheesh. i didnt think it was that hard -- ofcourse, i can see its complexity with a huge organization...but once its setup up, count on never having to touch it until an exploit is found (and these days, it seems rare for sendmail).
      oh well....
      back to that cf file.

      --
      We're like rats, in some experiment! -- George Costanza
    2. Re:it took you this long to switch from sendmail? by [tsa] · · Score: 3, Interesting

      > am i the only dork that decided to learn sendmail, > and now have no issue with its configuration??

      No, you aren't. sendmail just works. Oh, and I
      badly failed trying to configure postfix.

    3. Re:it took you this long to switch from sendmail? by GNUguy · · Score: 1

      Nope, I use sendmail, and am quite happy with it. Been using it for about 10 years or so now.

      -G

      --
      A man, a plan, a canal, panama
    4. Re:it took you this long to switch from sendmail? by silas_moeckel · · Score: 4, Insightful

      Nope learned it loved it and if you want a nice GUI buy it. Will people never learn if they want a nice happy easy sendmail you can buy it. The guys that write it sell a nice administration front end. It even handles multiple instances on various boxen so it scales ok to enterprise and ISP settings. Why does everybody bitch that sendmail is hard to setup does everybody just dred the idea of forking out a hundred bucks for a nice front end to a mail server thats been around the block and is about as defacto a standard as they come?

      OK I may just be jaded because sendmail has gotten me though some tough times and nasty issues at a time when uucp was still common.

      --
      No sir I dont like it.
    5. Re:it took you this long to switch from sendmail? by silas_moeckel · · Score: 1

      It's ok, I'm to old to care about the boxen police and the spelling nazi's allready hate me. The self word wrap people well I havent seen them around nor do I care about them :) Though if the entry box width was customizable it would be nice (if it is no I havent realy looked that hard I dont suffer from customitis that disease where you seak to look cool and elite via anime slashdot backgrounds and redone css)

      You would wonder how many people on slashdot are just to young to remember the old slang terms that some of us grew up with.

      --
      No sir I dont like it.
    6. Re:it took you this long to switch from sendmail? by ted_nugent · · Score: 1

      Could be worse. At least he didn't say "UUCP anyone?"

      --

      Free the West Memphis Three!

    7. Re:it took you this long to switch from sendmail? by prockcore · · Score: 5, Funny

      I thought everyone without a huge legacy setup had switched from the archaic sendmail to something decent like postfix, or qmail long ago.

      I would never run qmail, and wouldn't recommend anyone use qmail.

      Any program that just dies with the error message "cannot start: hath the daemon spawn no fire?" doesn't belong in an enterprise server.

    8. Re:it took you this long to switch from sendmail? by conteXXt · · Score: 1

      Finally someone sticking up for sendmail!!

      Sure it's complicated. Sure it's powerful.

      Sure it makes some people crazy.

      But consider this: Sendmail has been there and done that..

      I use postfix only because my needs are extremely simple.

      --
      The truth about Led Zep should never be told on /. (Karma suicide ensues)
    9. Re:it took you this long to switch from sendmail? by Viol8 · · Score: 0

      Well I imagine that means it can't fork. Anyway , surely the issue is how well it performs, not the questionable sense of humour of the code authors.

    10. Re:it took you this long to switch from sendmail? by silas_moeckel · · Score: 1

      Yea postfix is great if your not running uucp, fax gateways and the like. (yea I'm sure there may be solutions for postfix to do those things but it's not exactly out of the box if you have been doing them with sendmail for years they just work) I'm not sendmails greatest fanboy but once you get over the learning curve it just works postfix provided no functionality that sendmail dosent that I require as yet. Maybe when one of these new smtp antispam changes catches on and dosent support sendmail I'll change. But thats not likly to happen soon.

      --
      No sir I dont like it.
    11. Re:it took you this long to switch from sendmail? by dasunt · · Score: 2, Funny

      Any program that just dies with the error message "cannot start: hath the daemon spawn no fire?" doesn't belong in an enterprise server.

      Luckily, although qmail might have abandoned you with its error message, other F/OSS software authors have heard your plea:

      To emphasize the highly professional nature of Nmap, all instances of "fucked up" in error message text has been changed to "b0rked".

      ( I'm half tempted to email in a patch to qmail that adds the configure flag of --idonthaveasenseofhumor )

    12. Re:it took you this long to switch from sendmail? by biggleswat · · Score: 2, Interesting

      Almost sounds like Multics error message...

    13. Re:it took you this long to switch from sendmail? by Anonymous Coward · · Score: 1, Funny

      I find it ironic that you object to the qmail log message, and yet have no problem using the name of a spacecraft from a science fiction television show to describe your business equipment.

    14. Re:it took you this long to switch from sendmail? by proberts · · Score: 2, Interesting

      http://www.porcupine.org/postfix-mirror/newdoc/UUC P_README.html

      I found the most attractive features of Postfix were having to do far less security patches, and the fact that my MTAs used far less resources, necessitating fewer upgrades.

      YMMV.

      Paul

      --
      http://www.pauldrobertson.com
    15. Re:it took you this long to switch from sendmail? by conteXXt · · Score: 1

      Fully agree. except that I don't think there will be any Antispam stuff that sendmail cannot interface to at any point (while smtp is still the transport)

      Remember that sendmail will gladly run 2 instances. One taking inbound and one forwarding AFTER the spaminator. Very flexible .

      --
      The truth about Led Zep should never be told on /. (Karma suicide ensues)
  5. honestpuck by Anonymous Coward · · Score: 5, Funny

    I had always wondered how he managed to have so much time to read all these different books, and then on top of reading them, writing a pretty nice review of it.. the following line explains it all to me:

    I was glad when this book hit my desk at exactly the same time as I started upgrading the corporate servers from Mac OS 9 to OS X Server

    And I'm posting this anonymously because I know there are many of you who wondered the very same thing.. ;)

    1. Re:honestpuck by Anonymous Coward · · Score: 0

      Sure, the book just "hit his desk", he didn't go out seeking it.

      You surprised that he's nothing more than a paid shill?

      Before you mod me down, post a link to a critical review he's submitted.

    2. Re:honestpuck by Anonymous Coward · · Score: 2, Funny

      post a link to a critical review he's submitted

      Well, this book got an "8". Since on slashdot, the average review is a "9", this review could be considered critical.

    3. Re:honestpuck by honestpuck · · Score: 5, Insightful

      I was in two minds about replying to this. I decided that since I let the last two similar comments slide it was about time to raise my voice again.

      First. If you'd like a "critical" review (in fact most reviews raise at least one or two criticisms of a book, I think you mean "negative") then you only need to go back as far as my last review, "Learn How to Program Using Any Web Browser". If you want to read a review where I totally pan a book then try my review of Online! The Book.

      Second, I enjoy reading technical books and I enjoy writing. Slashdot just happens to be an open site for book reviews. From the number of book reviews that receive a large number of comments I'd say a lot of people enjoy reading them. From the number Timothy passes through the system I'd say he is fairly often short of reviews. Perhaps the negative, unknowing, unthinking comments of people such as yourself is one reason for that shortage. I've certainly noticed that the number of comments such as yours far outnumber the compliments that reviewers get.

      Third. No one pays me to write these reviews. I do get to have my user id linking to my website. Last quarter that made a grand total of $21, which I took as an Amazon Gift Certificate to (patrially) feed my book habit. My guess is about 3/4 of that was due to getting my reviews published here.

      Fourth. Yes, some of the books I review are sent to me by publishers. Some I buy, some are borrowed from friends. I just did a quick check and over the last few months I've refused to have sent to me by publishers about the same number I've said "yes" too. Both of the book reviews I mentioned above are actually of books sent to me by publishers so I believe I can truthfully say I am not influenced by how a book comes to me.

      Finally, if you think my reviews are those of a "paid shill" you have two perfect solutions. Either write your own reviews or just don't read mine.

      Tony Williams

    4. Re:honestpuck by Anonymous Coward · · Score: 0

      Methinks the parent comment may have been referring more to the Mac OS9 server than the review :-)

    5. Re:honestpuck by Anonymous Coward · · Score: 0

      Thanks Tony,
      I enjoyed the review. I also enjoy many of the
      comments. Some of the comments are even really
      great resources. So your reveiw was not only good
      but it brought value add by being on slashdot!!!
      So to be complete, thanks slashdotters, too :-)
      Russ

  6. Re:Thank Apple for by Anonymous Coward · · Score: 2, Offtopic

    Actually, you're all wrong, nice speach though.

    Apple has contributed very little to FreeBSD, all of the contributions have been to the userland; NONE to the kernel.
    No, I'm not complaining, I'm very glad that Apple released a nice test suite that allowed us to find some rather nasty NFS bugs; but other than that, Apple has does no more than helping FreeBSD get the recognition it deserves, which is no little thing by the way.

    The FreeBSD realation with Apple is technically one-sided, Apple benefits, FreeBSD doesn't. On the political side, they both benefit from the BSD push. Which is good, but it could be better, for FreeBSD at least.

  7. Postfix shortcomings by Lxy · · Score: 3, Interesting

    I have also read this book, reviewed it, and submitted it. Obviously honestpuck is more interesting than me, and I can accept that :-).

    Good book, but even with Kyle's help I still can't get procmail working with postfix. Postfix has its own filtering mechanism, including spam filtering. It doesn't seem to allow 3rd party apps like procmail and spamassassin to play with it, though. I can't find info on Gogole either. Is anyone using procmail or spamassassin with postfix?

    --

    There is no reasonable defense against an idiot with an agenda
    :wq
    1. Re:Postfix shortcomings by Anonymous Coward · · Score: 2, Informative

      Check out this article....

      http://techie.org/Projects/TNMailServer-Full.asp x

    2. Re:Postfix shortcomings by boobsea · · Score: 5, Informative

      Didn't google very well did you?

      here you go:

      http://www.geekly.com/entries/archives/00000155.ht m

      Good luck.

    3. Re:Postfix shortcomings by kaisyain · · Score: 3, Informative

      master.cf:
      mailbox_command = /usr/bin/procmail -p

      main.cf:
      smtp inet n - n - - smtpd -o content_filter=spamfilter
      spamfilter unix - n n - - pipe flags=Rq user=spam argv=/usr/local/sbin/spamfilter.sh -f ${sender} -- ${recipient}

      Both of which are documented in files linked to from http://www.postfix.org/docs.html

    4. Re:Postfix shortcomings by Howard+Beale · · Score: 3, Informative

      I used this article as the basis for my smtp gateway and it works fairly well:

      http://lawmonkey.org/anti-spam.html

    5. Re:Postfix shortcomings by Dillusionary · · Score: 1

      Trust me spamass and procmail and anything else you can write will work with postfix, this is an awesome MTA and comes with builtin chroot support. Look into the main.cf file, there lays all your answers concerning procmail and spamass.

    6. Re:Postfix shortcomings by jtosburn · · Score: 4, Informative
      Postfix is both well documented, and well supported. From the well commented main.cf :
      # The mailbox_command parameter specifies the optional external
      # command to use instead of mailbox delivery.
      [some snipping]
      #mailbox_command = /some/where/procmail
      #mailbox_command = /some/where/procmail -a "$EXTENSION"

      So not enabled by default, but easily remedied if you absolutely MUST have procmail. You can also enable it on a per-user basis by leaving those lines commented, and then using a .forward file in your home directory that calls procmail.

      As for playing with spamassassin or other 3rd party programs, no problem. A quick check of the Documentation page at www.postfix.org reveals all kinds of good info. The consensus on postfix-users is to use amavisd-new, and then call antivirus and/or spam filters from there.

      Good luck!
    7. Re:Postfix shortcomings by outcast36 · · Score: 3, Informative

      You can also use amavisd. In addition to running your mail through spamassassin, this approach also lets you throw a virus scanner into the mix.

      here's a link

    8. Re:Postfix shortcomings by Anonymous Coward · · Score: 1, Informative

      in master.cf:

      # add at beginning
      smtp inet n - n - - smtpd
      -o content_filter=filter:dummy

      # add at end
      filter unix - n n - - pipe
      flags=R user=filter argv=/usr/local/bin/postfix-filter.sh -f ${sender} -- ${recipient}

      #
      # filter shell looks somthing like:
      FILTER=yourfilter
      cat > inp.$$ $FILTER < inp.$$ > msg.$$
      exec $POSTFIX "$@" <

    9. Re:Postfix shortcomings by Anonymous Coward · · Score: 0
      Didn't google very well did you?

      I'd say the problem is that he says he tried Gogole, but that seems to just redirect to Google. Perhaps he meant Gogol? Did he find information on fantastical Russian novels?

    10. Re:Postfix shortcomings by Hayzeus · · Score: 3, Interesting

      To avoid duplicating the zillion responses you shall receive pointing out that you can use procmail directly as the delivery agent (google or just check main.cf), I'll just point out postfix also honors sendmail .forward files as well, allowing procmail to be invoked that way as well. If you were invoking procmail this way using sendmail, you should have to make 0 changes when you switch to postfix. The only thing I've seen it break so far is the majordomo approval function, and this is covered in the faq.

    11. Re:Postfix shortcomings by Anonymous Coward · · Score: 0

      Gogol was Ukrainian, you Nazi pig.

    12. Re:Postfix shortcomings by CatNTHat · · Score: 1

      I use spamassassin and postfix on my mail server and I use procmail on my workstation to sort the mail. It works fine for me.

      http://www.bsd-laptop.org/viewtopic.php?t=22

      --
      Of course it's company policy never to, imply ownership in the event of a dildo... always use the indefinite article a d
    13. Re:Postfix shortcomings by Keith_Beef · · Score: 1

      Last time I looked in one of his books, it was definitely written in Russian, not in Ukrainian.

      Oblomov.

      .

  8. i stopped reading after i ran into this... by ltwally · · Score: 2, Funny
    "...upgrading the corporate servers from Mac OS 9 to..."

    yeah.. that was about where I gave up on this review. Anyone that runs MacOS 9 as a server ... not someone I think I'd be taking advice from for my network.

    --



    /dev/random
    1. Re:i stopped reading after i ran into this... by Dynedain · · Score: 2, Insightful

      dont blame the tech for what bones management decided to throw at him

      our servers are mostly OS9 as well because the old computers migrate into servers and our office is mostly mac-based (blame the person who's name is on the company for making that decision 15 years ago)

      I'd rather hear from someone who has a tough situation and how they figured a way out of it than from someone who has all the resources they want

      --
      I'm out of my mind right now, but feel free to leave a message.....
    2. Re:i stopped reading after i ran into this... by Anonymous Coward · · Score: 4, Funny

      I was in the middle of upgrading my corporate database server to Access 2000, but had to stop and type this post to wholeheartedly agree with you.

    3. Re:i stopped reading after i ran into this... by Zapman · · Score: 2, Interesting

      I can think of several reasons that MacOS might be needed as a server... Largeish publishing house using Quark Express comes to mind... it was only released for OSX, what, 6 months ago? For most corperations of any size, that's moving pretty quick.

      Besides, remember that even those you consider to be stupid often have good advice. This is one of those instances. Postfix is wonderful. Simple, secure, fast, powerful, extensible... Weitze did an amazing job writing it. He was the guy who wrote TCPWrappers (back in the days before xinetd put some resonable security into inetd) and the origional network analysis tool Satan, so you know it's written with security in mind.

      I've got it pushing 6-8 gigs of email a day in one install using pretty lame hardware (uniproc, 2 SCSI drives at RAID 1). We've loved it, and had some great success with it.

      --
      Zapman
    4. Re:i stopped reading after i ran into this... by CharAznable · · Score: 4, Interesting

      You'd be surprised.. OS 9 is a very secure OS.. there is no root shell to spawn after smashing the stack, for instance.

      --
      The perfect sig is a lot like silence, only louder
    5. Re:i stopped reading after i ran into this... by Shisha · · Score: 4, Insightful

      Somehow, I have the feeling that you have never been in charge of anything than your home network.

      Sorry that's just my impression, but a matter of fact is that IT managers don't allow willy/nilly upgrades. In fact the chances are that in real life, you're managing something that was not designed by you. So you have to put up with whatever is there. And if it works... sort of ... then you'll find it hard to persuade anyone to bless an upgrade.

      Same goes for coding; you take over project someone else has started and it might well be that you'll find yourself learning COBOL. You think that writing a CPU simulator in Java is stupid and inefficient; who cares we want it to run faster and you do whatever is needed to make that happen. That's life.

      Ever seen an S390? Do you know how much IBM charges for fixing these? Do you have an idea how slow they are? But just taking the risk of upgrading to something new usually isn't worth it in real life.

      Btw. he wasn't giving any advice on running a network, just a book review.

    6. Re:i stopped reading after i ran into this... by Anonymous Coward · · Score: 0

      yeah, and it has itunes

    7. Re:i stopped reading after i ran into this... by Otter · · Score: 4, Insightful
      Classic MacOS systems aren't bad servers for low intensity use. They're extremely secure, for one thing, and the available server software packages were pretty good and very straightforward to use. Quite a few places ran their DNS and mailserver off an old Mac SE for well into the Internet age.

      Anyway, who better to write a review of an introductory Postfix book than an admin just switching to Unix?

    8. Re:i stopped reading after i ran into this... by misleb · · Score: 1
      I can think of several reasons that MacOS might be needed as a server... Largeish publishing house using Quark Express comes to mind... it was only released for OSX, what, 6 months ago? For most corperations of any size, that's moving pretty quick.

      As if using MacOS 9 for a server wasn't bad enough, now you are suggesting that someone might want to run Quark on it (the server)???? That's no way to run a network.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    9. Re:i stopped reading after i ran into this... by ScottSpeaks! · · Score: 2, Interesting
      our office is mostly mac-based (blame the person who's name is on the company for making that decision 15 years ago)

      I'd file that under "You all thought I was crazy, but who's laughing now?" I'm at the tail end of a migration of my own business from mostly Windows with one Mac and one Linux box, to a mix of OS X and Linux and a legacy Windows box... and lovin' it.

      On the topic of Postfix, I switched from Sendmail (which I'd been tinkering with for a few years) to Postfix when I switched from RedHat to Mandrake, and found it mostly painless. The only problem was that Mandrake's default install of Apache and Postfix apparently left an open proxy (not relay) exploit enabled, and I was briefly sending out spam for some low-life.

    10. Re:i stopped reading after i ran into this... by ltwally · · Score: 1
      Ah... the 390. Brings back memories... We got to write assembler for them back in college. real pieces of shit. They had some freakish 24-bit memory model and 16 GPR's (i think it was 16 of them) that weren't really GPR's 'cause they had assigned roles. God... if anyone other than IBM had created that monstrosity it would have sank...

      Anyhoo.. back to my reply: I was merely make a pun at the expensive of MacOS 9. IMHO OSX is the only decent MacOS ever. All the others were terrible; cooperative multitasking, a VM that makes MS-DOS shine, crashability like only Windows could compete with, etc etc.

      So don't take it all personal -- It was a joke!!

      --



      /dev/random
    11. Re:i stopped reading after i ran into this... by Anonymous Coward · · Score: 0

      Just FYI, MS-DOS did not have virtual memory

    12. Re:i stopped reading after i ran into this... by Anonymous Coward · · Score: 0

      It may have been slow (compared to todays stuff)
      but man could it do some I/O! For the right set
      of jobs, kind of hard to beat.
      The real eye opener was the day I was sent to work
      on a 1403 hooked to a 1401 (I was only trained on
      the 1403, mind you). It was at a Nation Guard
      office back in the 80's ( your tax dollars still
      hard at work) and the crew of people feeding stuff
      to the ol beast was amazing (they worked hard).

  9. Postfix? by Anonymous Coward · · Score: 5, Funny

    p
    / | \
    m / u
    / \
    t s
    / \ / \
    o d h i

    1. Re:Postfix? by 36526542DD · · Score: 0, Offtopic

      I don't know what that is supposed to be.

      Apparently you posted that article "POST FIX", as in "after your last fix of meth".

    2. Re:Postfix? by Anonymous Coward · · Score: 0

      > I don't know what that is supposed to be.

      Obviously you've never taken a CS course then.

    3. Re:Postfix? by Anonymous Coward · · Score: 0

      Hehe, I didn't recognize that as a tree at first.

    4. Re:Postfix? by Anonymous Coward · · Score: 0

      Neither did the Slashdot moderators, apparently.

    5. Re:Postfix? by ScottSpeaks! · · Score: 4, Informative

      It says "mod this up" in tree format. At every fork, process the left branch, then the right, then the node at the fork itself. When you reach a leaf, use that letter. Later, rinse, recurse.

    6. Re:Postfix? by 36526542DD · · Score: 1

      No, I haven't. Another post explained it.

      I guess I need to...

    7. Re:Postfix? by blueskies · · Score: 1

      i got: ihsudotmp

  10. Begun now by LittleLebowskiUrbanA · · Score: 3, Funny

    the great Qmail/Postfix flame war has.

    1. Re:Begun now by Tumbleweed · · Score: 1

      "Around the mail servers a firewall create."

    2. Re:Begun now by mihalis · · Score: 1
      the great Qmail/Postfix flame war has.

      No flaming, just use Exim!

      At least thats my opinion, and that of my ISP (Speakeasy)

    3. Re:Begun now by BigBadBri · · Score: 1
      The Sith it is you are taking - what is this Qmail of which you speak?

      --
      oh brave new world, that has such people in it!
  11. Postfix doesn't require a book by hey · · Score: 3, Informative

    It has no impossible-to-understand langauge, the options have reasonable names, they do what they suggest... it just works.

    1. Re:Postfix doesn't require a book by misleb · · Score: 4, Insightful

      A book can't hurt. Postfix can do a lot more than what a stock main.cf suggests.

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
  12. Re:Is it just me.. by Nahor · · Score: 1

    You didn't look very hard did you? This was in the default main.cf!

    mailbox_command = /usr/bin/procmail

  13. Re:Is it just me.. by rsidd · · Score: 1
    does that headline read like its been sent through babelfish?

    The headline is just one word, Postfix, so how could you tell?

  14. The sooner sendmail is consigned... by myowntrueself · · Score: 4, Funny

    to the dustbin of history the better.

    Q. Why does the 'sendmail book' have a bat on the cover?

    A. The diet of the North American brown bat is principally composed of bugs. Sendmail is a software package principally composed of bugs.

    or;

    A. Bat guano is a source of ammonium nitrate, a principal ingredient of things that blow up in your face, like sendmail.

    (And many others, courtesy of 'the unix haters handbook' (worth a read)).

    Obviously, the people who designed the sendmail configuration file system can't have been smoking crack, it wasn't invented back then.

    So what was it that they were on? LSD?

    --
    In the free world the media isn't government run; the government is media run.
    1. Re:The sooner sendmail is consigned... by Anonymous Coward · · Score: 0

      I thought it was because like the bat, sendmail sucks blood.

    2. Re:The sooner sendmail is consigned... by Kphrak · · Score: 1, Funny

      It's widely been a subject of suspicious conjecture that Sendmail was written at the University of Berkeley shortly after LSD was invented in the same university.

      I have Postfix on a box at my work here, and am loving it...too bad Sendmail on the production systems, its sendmail.cf hacked by dozens of admins before me, will never go away. If you wonder why, try working for a federal government bureaucracy and making any change whatsoever to the status quo.

      --

      There's no sig like this sig anywhere near this sig, so this must be the sig.
    3. Re:The sooner sendmail is consigned... by xsbellx · · Score: 1

      LSD was first synthesized by Dr. Albert Hoffman in 1938 while working for the Sandoz Company in Basel Switzerland. Please see http://www.macalester.edu/~psych/whathap/UBNRP/LSD /one.htm for additional information.

      --
      If VISTA is the answer, you didn't understand the question
  15. I do. by vyrus128 · · Score: 1

    Is that so hard to believe? :-) Note: that was before I switched to Qmail.

  16. Next book to buy by dimss · · Score: 2, Interesting

    This is next book to buy. I like postfix. Five years (or so) ago it was unknown rpm that came with fetchmail in Mandrake. Now I use it on all of my mail servers. And I use it for free.

  17. This book is great... by Mysticalfruit · · Score: 4, Informative
    I recently bought it from BookPool.com and it was cheap!

    Disclaimer: My buddy works at bookpool (but their prices really are great!)

    I've been using this book to migrate our existing sendmail gobbilygook mailsystem to a sane well documented postfix system and I've found the book to be a great help as I've had to do a one to one comparision between sendmail and postfix for configuration stuff.

    Plus Dent's writing style is excellent and the book is well laid out.

    --
    Yes Francis, the world has gone crazy.
  18. M4 actually has some benefits by Anonymous Coward · · Score: 2, Interesting

    If you have a complex setup, it is easier to modify a file with your specific settings, and use M4 to push those settings into the "real" config file. This is fairly future-proof.
    I'm not saying it is the best way, but there was a reason.

  19. Here's a cut'n'paste of the entire book. by Bender+Unit+22 · · Score: 4, Funny

    ---[snip]---
    Postfix, it just works!
    ---[snip]---

  20. Sendmail under Panther by b1t+r0t · · Score: 2, Insightful
    I already had a nice M4 file with a working configuration, and wanted to move from Linux to Panther. It was simple. Just compile it on a 10.2 box.

    Sendmail was incompatible with xcode, probably because of the latest version of GCC. I just checked, and it seems to have been fixed in 8.12.11. At the time it was easier to find a 10.2 box than to dig up the compiler switch command and remember to switch it back afterwards.

    --

    --
    "Open source is good." - Steve Jobs
    "Open source is evil." - Microsoft
  21. Re:Thank Apple for by Anonymous Coward · · Score: 1, Interesting

    Wouldnt this be a reason that GPL kernels have a longer life expectancy?

    Dont get me wrong, I love BSD style licenses. They are very useful, but tend to be lacking in author compensation and stability of the platform when a commercial entity gets interested in it, i think.

  22. Re:Thank Apple for by Gheesh · · Score: 2, Insightful

    The FreeBSD realation with Apple is technically one-sided, Apple benefits, FreeBSD doesn't.

    Well, I thought that was what the BSD license's for. You write code, a company comes in, takes it, does whatever suits them without any need of giving back. If you want a reciprocal relationship, license the code under the GPL.

  23. Re:IT'S SPELLED 'SPEECH' YOU INSENSITIVE GAY CLOD! by Anonymous Coward · · Score: 0, Funny

    "Important Stuff: Please try to keep posts on topic."

    What if it's a boring topic? Like a new mailserver or something?

  24. Re:Thank Apple for by jeremyp · · Score: 4, Informative

    Darwin doesn't use the FreeBSD kernel. It has its own (open source) kernel based on Mach, so it has nothing to contribute back to the FreeBSD kernel.

    --
    All I want is a secure system where it's easy to do anything I want. Is that too much to ask ~~ Randall Munroe
  25. An explanation by jared_hanson · · Score: 4, Informative

    Performing post order tree traversal on this tree yeilds:

    modthisup

    For those of you too long out out CS class, just remember: left, right, root.

    --
    -- Fighting mediocrity one bad post at a time.
    1. Re:An explanation by Anonymous Coward · · Score: 0

      Which is a great rule of thumb to follow, except that the grandparent is not a binary tree. Notice that the top node has three children-- so you meant to say, "left, center, right, root". Right? :)

  26. Re:Thank Apple for by Anonymous Coward · · Score: 2, Interesting

    Actually, it does, UFS driver updates they made would be welcome. Actually, many systemcalls in the MacOS X are directly from FreeBSD, so they would be welcome to contribute back the the PPC tree.

  27. Postfix rocks it by Mr804 · · Score: 1, Interesting

    Postfix is really great. I converted all our mail servers to it a while back. cpu usage is way down. The config file is very simple too.

  28. Why? by EvilStein · · Score: 3, Interesting

    There are still quite a few Mac OS 9 servers - running Webstar or AppleShare IP, or maybe even Eudora Internet Mail Server.

    It's actually not a bad platform at all and can be quite reliable.

  29. Another Postfix book is coming soon by EvilStein · · Score: 4, Informative

    Richard Blum wrote one - it's now quite outdated.

    Ralf Hildebrandt & someone else (sorry, forgot who) are working on another very current Postfix book as well. Keep an eye on Amazon.com for it.

    I've also read the O'Reilly Postfix book and found it to contain a lot of information. It's nice to have around.

    1. Re:Another Postfix book is coming soon by ISPpfy · · Score: 4, Informative
      The Ralf Hildebrandt & Patrick Koetter book "The Book of Postfix" can be found on Amazon here:

      http://www.amazon.com/exec/obidos/ASIN/159327001 1/qid=1077836565/sr=2-3/ref=sr_2_3/002-8092152-647 2869


      It isn't out yet, however.

      It's published by "No Starch Press," which must have some relationship with O'Reilly since it was in their latest catalog as well.
    2. Re:Another Postfix book is coming soon by LaissezFaire · · Score: 1

      Ralf Hildebrandt knows his stuff. He's been active on the postfix mail list for years.

    3. Re:Another Postfix book is coming soon by LaissezFaire · · Score: 2, Interesting

      (Replying to my own message. Ugh.) Ralf's postfix page is here.

    4. Re:Another Postfix book is coming soon by Shaleh · · Score: 2, Informative

      O'Reilly recently started acting as their distributor. No Starch handles the actual content.

  30. postfix instead of sendmail - that's a good thing by fanatic · · Score: 3, Interesting
    This caused a fair amount of teeth gnashing when I discovered it had gone the way of all flesh in OS X Panther to be replaced with Postfix

    I replaced sendmail wwith postfix on all my non-isiolated machines last year after the sendmail vulnerability-of-the-week treadmill got very old.

    it was *really* simple to do.

    postfix: the ultimate sendmail patch.

    --
    "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  31. About sendmail.cf by Crag · · Score: 3, Insightful

    This is pure conjecture on my part, but I suspect the syntax (and I use the word loosely) of the sendmail.cf file was evolved for ease of parsing via whatever code originally implemented sendmail. It's very nearly a binary format.

    I'm no sendmail appologizer, but the only time anyone should be messing with .cf files is when they're writing new recipies. The sendmail.m4 file is dead simple to work with.

    As for me, I've been using qmail since '97 and I recommend it to anyone with the patience to change the way they think about MTA configuration. It's well worth the one week of agonizing confusion. You'll wonder why anyone would do it any other way.

    1. Re:About sendmail.cf by thogard · · Score: 2, Interesting

      Sendmail is the only existing MTA that can do hacks like SPF with just changes to the config file.

      Since sendmail may have been started with inetd on a slow machine, sendmail.cf was designed to be very fast to parse. How fast? A decade ago the parser could do millions of lines a second on fast hardware for the day. Thats not a major deal now but it did help on a pdp11 or an early vax.

      Sendmail is not static and its still evolving. It was the 1st open source program that worked around insecure OS bugs and is the only major MTA that continues to do so.

    2. Re:About sendmail.cf by fyonn · · Score: 1

      Sendmail is the only existing MTA that can do hacks like SPF with just changes to the config file.

      I'm not sure about that, exim has a dnsdb database type that it can apply lookups too so one ought to be able to get an SPF lookup in pure exim config.

      the standard exim SPF config does use the perl daemon (that comes with SPF) for ease of coding though.

      while I'm sure there are things that endmail can do which other mta's can't, how many of those things are required? while i can't speak for postfix or qmail, I know exim has an almost silly amount of configurability in it. I'm sure it can't do anything, but with a bit of thinking, I'm sure that you could solve most problems with it.

      but as some insightful person said earlier. it's not about sendmail vs postfix vs exim vs qmail. it's about those vs exchange etc :)

      dave

      PS. I know that sendmail works, and can work very well, I just never cared to learn it

    3. Re:About sendmail.cf by gorilla · · Score: 1
      how many of those things are required

      Perhaps the question should be how many of those things are required nowadays?

      Back in 1989, being able to translate DecMail addresses to RFC822 was a very useful feature. Nowadays, it's so arcane I doubt if anyone who reads this has actually done it. But sendmail still can.

  32. On the evil of colons in book titles by LaissezFaire · · Score: 2, Interesting
    The Chronicle has an article by Jennifer Jacobson on the possible evil of colons in book titles. It seems that it's hard to impossible to print a book these days without one. The article contains a small joke about colonoscopies."

    I found the article referenced by Arts & Letters Daily.

  33. Re:Thank Apple for by Anonymous Coward · · Score: 2, Informative
    Of note:

    http://netbsd.org/gallery/products.html#darwin

    ``NetBSD is used by Apple for a large portion of the user-space commands and tools in their Darwin project, and Darwin is the UNIX-based core used by MacOS X. NetBSD source tends to pay attention to issues of portability and correctness, and is virtually all BSD licenced, which avoids commercial problems with the GNU General Public Licence. At least one of the Apple developers has access to the NetBSD source tree and has fed back some useful changes.''


    FreeBSD or NetBSD is more than the kernel alone. Contributing to either doesn't have to be in the form of changes to /usr/src/sys. It could just be to /usr/src. :D

    Now "some useful changes" might be a man page type correction... I don't know. You're welcome to scan Net's cvsweb.
  34. Yet another convert. here... by Anonymous Coward · · Score: 3, Informative

    I ran sendmail for nearly a decade at various jobs and on various systems. I switched to Postfix a few months ago after trying out SuSE 8.1 Linux (love it, btw) and I'm hooked! I now run Postfix as an Internet-to-interior "smtp firewall" between the Internet and my internal Lotus Domino servers, and the pcre body_checks filters that became available in the first couple days of the MyDoom virus storm proved to be invaluable in keeping about a thousand viruses per hour from being relayed thru my SuSE Linux/Postfix "smtp firewall" and hammering away at the Trend Scanmail antivirus on my Domino server.

  35. editting sendmail.cf by MrChuck · · Score: 5, Informative
    I've made a LOT of money taking people's old sendmail configs and turning them into managable m4s. Esp when 4-5 system admins have passed through and just made "a little tweak."

    Postfix seems ok, I'd recommend it for folks setting up straightforward machines who didn't know sendmail

    But people whine that "sendmail is too complex" and at the same time they WANT complex things to happen.

    I had a guy come up to me at an event and shout:
    Guy: Sendmail is too hard.
    ok
    Guy: and is there any way to make it only send large (> 1MB) messages out after 7PM when my ISDN rates are lower?
    sure. 5 lines in your m4 file.

    Sendmail.cf is a binary. It is intended to be read and parsed quickly by a binary. Sendmail still runs on 4MB Sun 3 machines. You don't edit /bin/ls to effect a change there, you edit "ls.c".
    Similarly, you edit the .mc file to effect a change in the .cf.

    More, when sendmail changes major revisions (eg. you fianlly move from Sendmail 8.8 to 8.12), you regen your .cf and, barring some minor changes to remove defunct features or take advantage of new ones, you have a new working .cf file. You can't just move a 8.8 cf file to an 8.12 machine and expect it to work well and use new features.

    Having worked on HUNDREDS or THOUSANDS of config files (one set went onto 10,000 machines at a site), there's NOTHING you can do in the .cf that can't be done in the .mc.

    That said, the rule language is painfully ... complex? No, just the opposite. It's painfully simple. My experience with 6502 assm and a BASIC that had neither ELSE nor AND/OR options helped to make me really good at writing sendmail rules.

    Dealing with booleans (just to ruleset^Wsubroutine saving buffer, put time in buffer.
    Is message less than 1MB? then return
    is time after 1900 hrs? Yes? return dsmtp.
    Is time < 700 hrs? Yes? return dsmtp.
    Otherwise just return.
    In calling routine, look for return value and if it's dsmtp, put the saved buffer to the dsmtp mailer. Otherwise continue with the saved buffer.

    Hard? No, not really.

    Painful? You betcha. I'd love to have variables and ANDs and ELSEs. I've taken to putting complex logic in a perl milter at the RCPT TO phase and calling it a day.

    sub choosemailer {
    if ((($time > 1900) || ($time < 700)) && $size > 1MB) THEN $mailer=dsmtp
    }

    But the rulesets are just read by a parser. It's not rocket science (just computer science).

    It would be nice to have (perl) regex's and such built in.

    And that's where Postfix starts to have an advantage. I can live without UUCP for that. I'd just hope that new sendmail versions might rethink the whole language for processing mail. It's good to have competition. (qmail2 also looks promising to raise the envelope).

    But lets just recall that's its not about Sendmail vs postfix vs exim vs qmail.

    It's any of these VS Exchange/Notes/Gropewise. And we're losing.

    1. Re:editting sendmail.cf by Anonymous Coward · · Score: 2, Informative

      It would be nice to have (perl) regex's and such built in.

      Postfix supports PCRE (perl-compatible regular expression) and plain regexps

      And that's where Postfix starts to have an advantage. I can live without UUCP for that.

      Postfix supports UUCP

    2. Re:editting sendmail.cf by k_head · · Score: 1

      I never understood why people didn't just make their config files python or perl or something. Instead of writing your own parser for your own config dialect why not just let it be python?

      --
      The best way to support the US war effort is to continue buying American products.
    3. Re:editting sendmail.cf by Iamnoone · · Score: 2, Interesting

      I can vouch for this guy and his sendmail work - he is a miracle worker. He transformed the sendmail config's for a 2,000 + person company that I was at. If you are required to use sendmail, it might save you alot of headaches to have him sculpt your config. A real old school UNIX freak, an artist in the sendmail medium...

    4. Re:editting sendmail.cf by Anonymous Coward · · Score: 0

      Yes, sendmail configuration is manageable if you bother to learn it (I've edited sendmail.cf files directly just last year), but that's just one reason a lot of people usually state for preferring the newer alternatives. The others are performance and sendmail's history of security holes, which since you're experienced with sendmail I'm sure you're aware of.

      The only time I've ever seen the load of a Unix machine exceed 1000 (it took half an hour to shut down, and this was reasonably modern hardware, less than 10 years ago), it was a bunch of sendmail processes...I'm not sure any other MTA would've handled the situation better.

    5. Re:editting sendmail.cf by MrChuck · · Score: 1
      Because regex parsing is notable SLOW. Watch spam assassin and it's time to run a message.

      However, I have a $300 box that's 2GHz.

      We could afford to move into the future somewhat.

      I've had flashbacks to third year CS and writing compilers and languages (in VMS, ick). Basically, you have a special purpose language that your program compiles into something not unique. Perhaps assembly in the end.

      I look at sendmail's rule language as a lot like the BASIC I learned on 1970's Wang "PCs". That basic tokenized (PRINT became a single hex byte on storage). And I start to think that a compiler that takes something closer to human and emits sendmail rules would be dandy. For the record, m4 does not count as "closer to human."

  36. *sigh* Humor impaired? by FredFnord · · Score: 3, Interesting

    So the point was that you are the admin for a corporate network that ran on MacOS 9, and now runs on MacOS X.

    And therefore, since the administration is so easy, you have plenty of time to read and review books.

    See? He made a funny.

    (Mind you, this is funny because it's true. If you'd said the same thing except about moving your servers from Windows NT 4 to Windows 2003 Advanced Server, he could have said the same thing, and it would've been funny because it was so outrageously false.)

    -fred

    --
    Sign #11 of Slashdot overdose: You see the phrase 'moderate Republican' and you wonder if that would be a +1 or a -1.
    1. Re:*sigh* Humor impaired? by honestpuck · · Score: 3, Informative

      I agree, the original comment about why I had the time to review all those books *was* funny.

      The comment I was replying to was the one accusing me of being a "paid shill".

      Tony

  37. Postfix for speed by hanksdc · · Score: 4, Informative

    While a lot of the comments here (at least those +3 and above) mention Postfix's ease of management vs. that of Sendmail, one point that hasn't received a lot of attention is how the two compare in terms of efficiency. My experience with Sendmail in a high-load environment tells me it's a monolithic, bloated, resource pig. But that was when I was still somewhat new to the admin game, so I'm sure with some expertise it can be tuned.

    Postfix, on the other hand, 'out of the box' was wonderful, (not to mention easy to use) and when I learned to tune things like filesystem parameters, optimal disk subsystem layout, and such it only got better. Our Postfix installation where I work continues to amaze me with how much mail it processes each day, with little or no maintenance, even under heavy load (1M+ incoming messages/day between 5 dual-CPU, 2-disk SCSI PIII-class machines). My gut feeling is that with some beefier boxes, and a pile of disks I could get that down to 2 machines handling the same amount of traffic.

    Another plus for Postfix is its flexibility, and, if you need to get so deep, its hackability. The code is extremely clean, modular, and easy to work with.

    1. Re:Postfix for speed by haruchai · · Score: 1

      I know of one large ISP that migrated from Solaris Sparc + Sendmail to FreeBSD + Postfix and wonder why
      they didn't do it sooner.
      These guys are all hardcore 'nix admins and developers but were probably held up by conservative
      upper management.
      In any case, their 150,000 users are doing much better.

      --
      Pain is merely failure leaving the body
  38. I think it's telling that the two people who love by Anonymous Coward · · Score: 0

    sendmail have atrocious spelling, grammar, syntax, and punctuation. Perhaps the kind of linguistic mindset that enables one to become fluent in sendmail configuration is incompatible with the one that allows fluency in English. Maybe if you naturally write in run-on sentences with no punctuation and indifferent regard for syntax, sendmail configuration files make perfect sense!

  39. Well, yes... by devphil · · Score: 2, Insightful


    ...those of us with a very early Slackware box (which came with sendmail but no sendmail docs) didn't know that there was such a thing as the M4 files. We had some helpful comments in the .cf file for what the lines did, but that was it.

    When we did find docs, it was just for the .cf file, not the installation-and-regeneration docs. (Which didn't really exist then.)

    I became very good at editing sendmail.cf, and then came the day, years later, when I had to do it from absolute scratch, and downloaded the full tarball for the first time, and discovered the installation docs, which pointed me to the M4 files. Then I gave up in disgust and found qmail.

    Having done my own rewriting rulesets, I became acutely aware of what's involved in processing an email. The knowledge gained helped me figure out qmail, in spite of its craptacular documentation.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  40. PostFix + MYSQL + Cyrus Rocks!!! by Anonymous Coward · · Score: 2, Interesting

    No one has mentioned the great mysql integration. That was what turned me on to Postfix. The domain info can be stored in MySQL. Combine with Cyrus IMAP/POP (and the MySQL PAM module), I can run almost my entire hosting busines without real system users.

    Virtual users with mysql ROCK! Add a record in mysql,
    and a couple folders on the server(via cron jobs that also check the MYSQL database) and voila!

    I don't like to plug my business on slashdot, so I'll post anonymously, but this setup has worked wonderfully for a long while for my companies modest needs.

    It is nice having virtual users. In fact my shared hosting servers can be run without any real system accounts for the end users., (I try to keep "advanced" accounts that have shell access on other servers...)

    FTP users are all virtual too! (Pure FTP), even the DNS is mysql powered (PowerDNS). Make admin pretty easy, I just spend most of my time writing frontends to it...

    ANyway POSTFIX is great by itself, but combined with some additional open source goodness and the sum totoal just rocks...

    1. Re:PostFix + MYSQL + Cyrus Rocks!!! by jallen02 · · Score: 2, Informative

      One better... :)

      I had also known Sendmail was a little tedious to learn. My main job is software development, but we are a small company so I multi task as system admin for about 10 systems, mostly Linux with a couple of internal windows systems.

      None of the email systems are REAL painful to get working, even Sendmail. I can learn and understand these types of things easily with the years of experience I have. The thing is in a small company I have to squeeze every minute I can out of a day because my time means a lot. If I can spend half the time learning the ins and outs of a particular server app I am doing a good thing. So when I had to set up our first non shared systems in a data hosting facility I was very happy.

      I decided QMail had enough of a popular following and a reasonable enough featureset and great security track record that we could live with QMail. So I installed QMail, read books, tweaked and eventually installed. Got everything working: SMTP+POP3 with selective relaying based on who had just popped. Worked great. Then it came time to set QMail up on a different server as we were shuffling services around to free up the server we currently used for mail. I was not looking forward to doing QMail again. I didn't like managing it the way we had it set up and didn't really feel I had the time to mess around with it, so I looked for alternatives.

      I found Postfix. I downloaded it, compiled it, installed it and read through all of the configs and docs.Within an hour I was so amazed at the simplicity of Postfix and how much sense the configs made, I was in shock. Then I read a little more and searched around and found how easy IMAP was to get working as well. I then found an IMAP server that supported MySQL and found that Postfix also supported MySQL for domains/user configurations. That is all it took for me to be completely sold. I would have preferred more options for the RDBMS, but I wasn't going to complain much.. MySQL isn't to resource hungry. Performance wasn't a concern as I only needed mail for a pretty small group of people. As it is this setup is very READ heavy with the data being almost static (just needing a nice easy programmatic way to be updated when required) so it plays nicely into MySQLs performance forte.

      In one day of configuration and code writing I had Postfix doing all of our SMTP, Courier IMAP (which includes POP3) all on the same backend. I had web mail setup and working. All of our mail storage was now centralized which only makes it easier given some of us travel around a lot and still need our mail.The best part, I wrote a web based management tool to manage domains, accounts, and aliases for our mail system. No more unix command line, log onto the application fill in a form or two and its done. Setup a new domain for email? Fill in a few forms and voila it's all done. I think it was one of the most pleasant experiences setting up a network service I administer I have ever had. (I realize that I am a programmer and not everyone will have the knowledge to hammer out a management tool in a small timeframe like that, but for us it simply works).

      Thats my story for Postfix!

      (P.S. we just have our system send a welcome email and the Maildir folders automaticaly get created after the first incoming message. Postfix handles this for you. :) )

      Jeremy

  41. Re:I've been asking this over and over... by Anonymous Coward · · Score: 0

    Just because you're fucking dyslexic or something doesn't earn you any grovelling points. For one thing it's not HONSTEPUCK, it's HONSETPUCK. I believe it's a reference to William Shakespeare's character Puck in A Midsummer Night's Dream. Just because it's probably the lamest and most uncreative slashdot username ever used doesn't mean it's that horrid. But you, my friend, need to settle down. It's just a freaken loser's name. ie. WHO CARES?

  42. Qmail author doesn't have nice things to say about by Anonymous Coward · · Score: 1, Informative

    ...Postfix.

    http://cr.yp.to/maildisasters/postfix.html

    http://cr.yp.to/qmail/venema.html

    And after reading and realizing how some of the fundamental issues with Postfix were neither acknowledged nor understood by the author of Postfix (at first), I'm not sure if I really trust its security.

    I have nothing against Mr Venema, infact, I've used TCP Wrapper for a long time now.

    On the subject of Sendmail vs. the world, I think after 7 yrs of using Sendmail I feel quite comfortable with it. One thing I wish Sendmail was better at was the use of resources like Postfix and specially qmail.

    I keep thinking about making the switch to qmail or postfix but I can never find the time to learn any new stuff these days. I would have to learn it well too so I can do all the things I currently can with Sendmail e.g. virtual hosting, mailing lists, RBLs, SpamAssasin interface via .forward etc etc).

    My current mail server setup is:

    smptd (www.obtuse.com, small, fast, secure) for the front end (listening on port 25) which uses sendmail for the delivery, which in turn uses procmail (via .forward) to forward to SpamAssassin and finally deliver mail to the user.

  43. postfix by oohp · · Score: 2, Informative

    Postfix is very good and not crippled by stupid DJB style "licenses" like qmail. I'm using in on all my boxes (FreeBSD, Linux) and one of them delivers large amounts of mail. Very fast delivery, supports all kinds of stuff (maildirs, MySQL, LDAP, delivery to Cyrus, etc.) has some builtin unsolicited bulk email controls and some resource controls and it doesn't require 1e13 users on the system like qmail does. I'm surprised people still use Sendmail (and argue that it's somehow "better"). Very cool piece of software. I'd like to thank Wietse Venema and IBM for it.

    Some would argue about the license (especially BSD people who also argue about GPL being not liberal enough) but it's OSI approved so most arguments are vapour.

  44. Anti-SPAM Postfix, Amavisd-new, SpamAssassin by frankie_guasch · · Score: 2, Informative

    here is a fine guide to build a Fairly-Secure Anti-SPAM Gateway Using OpenBSD, Postfix, Amavisd-new, SpamAssassin, Razor and DCC.

    You can follow the steps and build it with Linux too. This entire procedure has been developed with security as a primary focus. These are the main tools it shows:

  45. Re:Postfix Enabler -- solution for free by davids-world.com · · Score: 3, Informative

    Mac OS X users could alternatively safe the money and read a description of how to enable postfix on OS X for free in ten minutes. In Panther, it's just one or two lines in configuration files, essentially. If you want SASL authentication and other things, the nicely-designed GUI of Postfix Enabler is probably worth a few bucks!

  46. A request for Wietse... by h3 · · Score: 3, Interesting

    I've long wished that Wietse Venema would turn his attention next to a replacement for BIND. Can you imagine it? I get wistful thinking about it.

    In this day and age of DNS and MTAs synergizing to combat spam, it kind of makes some sense, doesn't it?

    I use tinydns myself but the DJB way has also irked me. Which is why I turned to postfix after evaluating qmail long ago. sendmail's security problems and horrid config made it out of the question.

    Kinda like BIND. Though the config isn't as bad as sendmail.cf (and tinydns's data file is about as bad), I'd like to see what Wietse would come up with...

    -h3

  47. Re:Qmail author doesn't have nice things to say ab by anaplasmosis · · Score: 1

    Who cares?

    next if ($author eq "djb");

  48. Re:Qmail author doesn't have nice things to say ab by CowboyBob500 · · Score: 1

    I must admit that having read a lot of DJBs site for various reasons over time, I have come to the conclusion that I really wouldn't like him if I ever met him. Having said that, I do use DJBDNS rather than bind on my network simply beacuse I had a very short timeframe to get DNS up and running and bind seemed to have too steep a learning curve at the time.

    Back on topic, I do use Postfix on my mail server and found it relatively easy to configure and setup. I've also got Ilohamail sitting on top of it for webmail services, which I'd recommend as well.

    Bob

  49. Postfix RULES by Netmonger · · Score: 1

    I dont know why anyone would want to put themselves through the hell of sendmail when Postfix is available. I have Postfix working with LDAP lookups, SMTP authentication, passwords out of LDAP - all kinds of cool stuff that was a total pain in the ass to get sendmail to do. If you havent checked it out yet, do so and I am sure you will agree: Postfix rules!

    --
    -- NeTMoNGeR
  50. On taking good patches - TLS by bill_mcgonigle · · Score: 1

    One of the most annoying things about qmail/DJB is the unwillingness to accept what the community sees as necessary feature patches.

    Just having gotten postfix/sasl/tls/auth going, I have to say, it's not sensible that postfix ships without the TLS functionality. It was easy once I found the patches, and maybe I missed something, but it took me a while to realize it wasn't bundled by default. Anybody know why this is?

    It's just not a good idea to setup a mailserver today for most users without supporting AUTH over TLS. MD5 is OK if you can handle the admin overhead of extra passwords, but a configure option (if there was a configure) --without-tls would take care of those folks who want to run a leaner server. Export licenses maybe? Just have a -non-crypto.tar.gz download as a non-default download option.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)