Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Software The Internet

Postfix 2.1 Released 286

MasTRE writes "After an extended period of polishing and testing, Postfix 2.1 is released. Some highlights: complete documentation rewrite (long overdue!), policy delegation to external code, real-time content filtering _before_ mail is accepted (a top 10 most requested feature in previous versions), major revision of the LDAP/MySQL/PGSQL code. Version 2.2 is in thw works, which promises even more features like client rate limiting and integration of the TLS and IPv6 patches into the official tree. There's never been a better time to migrate from Sendmail (just _had_ to get that in there ;)."
This discussion has been archived. No new comments can be posted.

Postfix 2.1 Released

Comments Filter:
  • Aaargghhh! (Score:5, Interesting)

    by gowen ( 141411 ) <gwowen@gmail.com> on Friday April 23, 2004 @11:17AM (#8950204) Homepage Journal
    It would be nice if, during product announcements, if the submitter actually included a sentence SAYING WHAT THE SOFTWARE DOES.

    Yes, I know its an SMTP server, but sheesh, is it so hard to start it "After an extended period of polishing and testing, Postfix, the popular open source mail transfer agent, has reached version 2.1
  • by darthcamaro ( 735685 ) * on Friday April 23, 2004 @11:17AM (#8950205)
    I've been running sendmail 4ever - sure it's complicated as hell - and a bit of a resource hog at times..but it freaking works and is rock solid over more years of production use than any other MTA ever will be in our lifetimes.
  • by Anonymous Coward on Friday April 23, 2004 @11:19AM (#8950245)
    Postfix is truly the best MTA available for Linux. Sendmail is incredibly insecure and a nightmare to manage, while qmail suffers from some stupid security issues, and is owned by an unbalanced egomaniac that requires all kinds of ridiculous installations to make it work.

    Postfix on the other hand is simple to manage, secure, and isn't missing any important features.
  • by bigberk ( 547360 ) <bigberk@users.pc9.org> on Friday April 23, 2004 @11:23AM (#8950288)
    I recently configured a 200 MHz Pentium host (with slow IDE drives etc.) as an ISP's mail server. It handles over 10,000 emails daily and the load average hangs around at 0.10 -- it's using Postfix with the renattach attachment filter [pc-tools.net] as a content filter (catches all those windows viruses). I was pretty impressed that Postfix performed so well on such an ancient machine :)
  • by SuperBanana ( 662181 ) on Friday April 23, 2004 @11:24AM (#8950304)

    I've been running sendmail 4ever - sure it's complicated as hell - and a bit of a resource hog at times..but it freaking works and is rock solid over more years of production use than any other MTA ever will be in our lifetimes.

    On a Axil 320(110mhz, I think? I forget which sparc chip) running Solaris w/320MB of ram and one single SCSI drive, on a Mailman list with about 2,000 subscribers and 100 posts a day, we went from delivery times of an hour+(and load averages well over 4) to under 5 minutes(and load averages between .5 and 2).

    Proponents of Sendmail will say "oh, it just needs to be tuned properly".

    Nope, sorry. Proper software doesn't need tuning to do its job. Ever notice that the only proponents of the "it just needs someone who knows how to tune it" model are...well...the limited number of people who know how to tune it, and are fast finding themselves out of jobs?

  • by Chuck Bucket ( 142633 ) on Friday April 23, 2004 @11:24AM (#8950314) Homepage Journal
    that's the question.

    I've been running Postfix for 8 months now, and I much, much prefer it to my life of running Sendmail for the previous 2 years. Anyway, I've been running Postfix, it has worked perfectly for me, and my 8 other mail users, and I have kept up to date on all/any security patches. Is there any compelling reason for me to upgrade? If the newer one is faster, more effiecent, that's great, but for a small server like mine I'm not sure if I'm even going to notice.

    Anyone with helpful advice is appreciated. TIA.

    VSCB
  • by marko_ramius ( 24720 ) on Friday April 23, 2004 @11:25AM (#8950323)
    > There's never been a better time to migrate
    > from Sendmail (just _had_ to get that in
    > there ;).

    So is there any documentation describing a good way to convert from sendmail? Like, how the directives in sendmail map to directives in postfix?

    mr
  • by darthcamaro ( 735685 ) * on Friday April 23, 2004 @11:27AM (#8950353)
    Under 5 minutes? that's sweet - you did this with Postfix? and how did you manage the MTA change in all your apps or did you only have to do in GNU/Mailman?
  • by astellar ( 675749 ) on Friday April 23, 2004 @11:32AM (#8950407) Homepage Journal
    I use QMail and Sendmail on several hosting servers. Which advantages will my customers get with Postfix ?
  • insight needed (Score:2, Interesting)

    by U.I.D 754625 ( 754625 ) on Friday April 23, 2004 @11:32AM (#8950408) Homepage Journal
    Is it worthwhile to migrate to postfix from qmail? Qmail has a weird license scheme preventing binary distribution that sort of urked me, not to mention hit-or-miss setup documentation, but it's been running great for years now. I've wanted to add some virtual domains and spam filtering and it might just be easier to swap the whole MTA.
  • Re:Aaargghhh! (Score:3, Interesting)

    by StormyMonday ( 163372 ) on Friday April 23, 2004 @11:36AM (#8950464) Homepage
    I'll second that.

    On far too many Open Source projects, it's a real struggle to figure out what the durn thing is supposed to do. Go to the website, get a list of contributers, a changelog, and perhaps some press releases. Fire it up, click "help->about" and get a logo. Nothing says what it does.

    WHAT THE BLEEP IS IT SUPPOSED TO DO?
  • Re:Comparisons (Score:1, Interesting)

    by jrumney ( 197329 ) on Friday April 23, 2004 @11:50AM (#8950647)
    From the linked page:
    ...security-focussed features of qmail (binaries in /var,...

    Since when is it a security-focussed feature to install your binaries in a writable partition?

  • by IGnatius T Foobar ( 4328 ) on Friday April 23, 2004 @12:05PM (#8950857) Homepage Journal
    One of my servers is a big Sparc box (running Linux, not Solaris) that performs backup MX and other relay services for about a hundred domains at a hosting center. It gets constantly pounded on all day long. Originally it ran Sendmail, and it was badly loaded down. Installing Postfix cleared up all the problems. It's just that much better.

    Unfortunately, with all the extra mail traffic now due to MORE spam, MORE viruses, and all the bounces generated by the above, we have to expand again. And we have to go back to Sendmail because of one particular feature: you can have multiple Sendmail instances sharing an NFS-mounted queue. Since the new system is multiple Sparc boxes in a load-balanced cluster, we have to go back to Sendmail because Postfix doesn't support this. :(
  • by wagemonkey ( 595840 ) on Friday April 23, 2004 @12:06PM (#8950869)
    I'm sure someone can come up with a joke about beowulf clusters....
    Shift some services to it, network monitoring, security scans. Stuff you can easily run somewhere else if it dies but it's handy not to. Or donate it to a charity that wants it. MP3 server, CD jukebox server. Write something spiffy to act as a voicemail system...
  • by RonBurk ( 543988 ) on Friday April 23, 2004 @12:09PM (#8950916) Homepage Journal
    One of the geek-cool things about this release of Postfix is that it finally provides a way to add your own code to the SMTP conversation without having to understand or patch Postfix at all.

    The new policy server interface is a simple sockets-based API for getting a chance to participate in the SMTP conversation as it is happening. The basic idea is:

    • tell your Postfix config file (main.cf) that you've written a "policy server" that listens on a particular Unix socket or TCP address/port. You can have the policy server get "called" at any of the points in the SMTP conversation where Postfix may make a decision about how to dispose of the message (HELO, RCPT, etc.).
    • write your policy server. It listens for connections, and each connection sends you one or more requests. Each request contains a small set of information about the mail message being transmitted (client name/address, HELO text, etc.) Your server responds with one of a broad set of actions that Postfix supports (reject, accept, defer, perform other custom checks, etc.).
    • The protocol for talking to your server is a simple text-based protocol with newlines, much like the form of HTTP. I coded an initial policy server in good ol' C in about an hour.
    In particular, this new API is a great place to implement greylisting. Your server can maintain its database of whitelisted and greylisted from/to/IP triplets all on its own and just respond to Postfix requests. And, once you've coded up your policy server, you don't have to revise it with every Postfix patch that comes down the pike. As long as the API remains backwardly compatible, your policy server code should survive any Postfix upgrades.

    Kudos to the new policy server API!

  • by wagemonkey ( 595840 ) on Friday April 23, 2004 @12:10PM (#8950939)
    Did 200MHz Pentiums have CPU fans, or just heatsinks?
  • by dmeranda ( 120061 ) on Friday April 23, 2004 @12:35PM (#8951267) Homepage
    It's great to see this feature added! I've been using sendmail's milter feature (a very similar sockets-based "policy" API) for many years. And I can't live without it now, and there was no way I would even consider looking at any other MTA that didn't have a similar feature. I program my milter's in Python, a bit easier than C. But you should have your choice.

    Of course I'm one of those very happy sendmail administrators (we do exist), and I have a relatively complex setup handling hundreds of thousands of messages per day, with very complex routing, etc. But perhaps Postfix is finally serious about providing an alternative (of course I also need TLS and IPv6 built-in like sendmail's had forever).
  • Re:Aaargghhh! (Score:4, Interesting)

    by Anonymous Coward on Friday April 23, 2004 @12:47PM (#8951408)
    I never understood why computer scientists often use the word "postfix", because this is a term invented by biologists (anatomy). Linguists and mathematicians say "suffix" instead.

    I use both words, and I use them to mean different things. "Suffix" (in my idiolect) means "a bound morpheme attached to the end of a word"; "postfix" means "an unbound morpheme attached at the end of a word".

    Are you saying mathematicians really refer to the style of "2 3 +" as "suffix notation"?
  • Where's ZMailer? (Score:2, Interesting)

    by Anonymous Coward on Friday April 23, 2004 @12:51PM (#8951453)
    What's happened to ZMailer? This thread has lots of mentions of postfix, exim, sendmail, and qmail, but I thought zmailer was supposed to be a big deal in mail server land... Has it been surpassed and forgotten now?
  • by wfolta ( 603698 ) on Friday April 23, 2004 @12:56PM (#8951506)
    A pleasant surprise in the 10.3 was the adoption of Postfix. It's good to see that they apparently made a good choice and good things are happening on the Postfix front.

    (I had been rooting for exim, which is also a great package, but Postfix seems to be a good alternative. Maybe they should also include exim on XServe's?)
  • by dmeranda ( 120061 ) on Friday April 23, 2004 @01:24PM (#8951857) Homepage
    Then you really need to check out the latest sendmail. It is WAY better than older releases. I think most of the FUD against sendmail is because nobody is looking at it's current features or design, only what it *was* say 5 or more years ago. Sendmail has not stood still.

    It uses capabilities, chroot jails, etc. It is nowdays very good about running with least priviledge, and only a very small kernel of code ever runs with root priviledge in a proper setup anyway. (or if at all if you OS supports capabilities).

    The one potentially bad thing about your mention of Postfix using fixed-length records, is that is usually the root cause for buffer overflows. I'm not saying that Postfix is suseptible or not, but actually fixed-length records is not necessarily a universally good security policy. But at least Postfix has some policies, so I have nothing against it. I just can't stand sendmail bashing without the facts.
  • Re:OTOH.. (Score:5, Interesting)

    by ahodgson ( 74077 ) on Friday April 23, 2004 @01:54PM (#8952195)
    Unfortunately, it has also meant no new functionality for >= 5 years, unless you want to maintain your own source tree with dozens of patches.

    I loved qmail, but all my systems run Postfix nowadays. SSL, SMTP AUTH, content filtering, too many features I needed and qmail doesn't have.

    I just hope djbdns doesn't go the same way, cause I REALLY hate BIND.
  • by Kent Recal ( 714863 ) on Friday April 23, 2004 @02:07PM (#8952331)
    Well, having a stable target for patches and extensions [qmail.org] can be a nice thing, too.
    And if you're dealing with mailing lists (from the admin side) you definately wanna take a look at ezmlm [ezmlm.org].

    I haven't tried postfix in a while but I guess the old rule of thumb (for small sites use whatever, if you need it big stick with qmail) still applies?
  • by Ctrl-Z ( 28806 ) <timNO@SPAMtimcoleman.com> on Friday April 23, 2004 @02:25PM (#8952489) Homepage Journal
    My 486 had a CPU fan. Then again, it didn't really need it since it ran for about 3 years after the fan died on it. On the other hand, the power supply only ran without a fan for about 6 months before it died. Ah, the glory days of computing.
  • by zulux ( 112259 ) on Friday April 23, 2004 @02:39PM (#8952669) Homepage Journal


    To be fair..

    Qmail is *very* well deigned and programmed. There's hasen't been a real need to issue a new package for a long time.

    I still don't like the license - but it is damn fine software.

  • by Christianfreak ( 100697 ) on Friday April 23, 2004 @03:33PM (#8953194) Homepage Journal
    The last study I read showed the exact opposite. With Postfix being the fastest, sendmail close behind and qmail way slower than the other two.

    Cause Postfix was built for people who do not understand how to properly configure a mailserver.

    Feeling a bit up on yourself are you? I've used all three and as a busy sysadmin I have to say I don't have time to screw around with with Sendmail security patches and overly complex setup or qmail's complete lack of flexability. I have a fairly complex Postfix setup that stores my users in Mysql, does spam and virus checking and handles about 40 domains. I set it all up in about half a day ... I don't even want to think about how long it would have taken to do it with sendmail.
  • by ePhil_One ( 634771 ) on Friday April 23, 2004 @05:08PM (#8954343) Journal
    I still don't like the license - but it is damn fine software.

    It may be damn fine software, but its creator has decided that he doesn't like the existing init systems on linux/BSD and so has written his own. That right there took qmail out of consideration. I don't care if he is right or wrong, I have no intention of installing a second init system just so I can run his software. The creators of Postfix integrate beautifully with linux standards, Redhat even provides a well integrated postfix package (install the rpm's then run 'redhat-switch-mail'). Not to mention the awesome 'mailgraph' utility - http://people.ee.ethz.ch/~dws/software/mailgraph/ [ee.ethz.ch] for charting stats!

    And best of all, its wicked fast. I can handle 100's of msg per minute on a 500Mhz box, which I learned the hard way that sendmail can't.

  • by sumbry ( 644145 ) on Friday April 23, 2004 @05:15PM (#8954435) Homepage
    Having worked at a hosting company for years, we actually migrated to Postfix (from Sendmail) way back in the day, when Postfix was still called VMailer (actually joined the beta before it even had a name).

    Simply put, Postfix is designed from the ground up with security in mind as well as the KISS philosophy of software design. Postfix has a bunch of little programs that all do one thing and do it very well, is realitively easy to chroot and even if you opt to not do that is still much more secure than Sendmail (esp its out of the box config). It's author Wietse Venema (sp?) was the same guy that wrote TCP Wrappers which is a stock part of almost every BSD/Linux distro today.

    Postfix was engineered from the groupd up to be a Secure MTA and was able to take immediate advantage of all the lessons that had been learned by Sendmail w/o having to hang on to a legacy codebase.

    Postfix is also extremely easy to configure, using straight non-cryptic ini style conf files and doesn't require a 1300 page manual to get the best out of it. Couple this with the fact that connecting it to a MySQL/Postgres/Oracle database for map lookups (forwarding, alias, transport, etc) and you've got this beast that scales very well for hosting environments (you can also used virtual passwd databases enabling you to create mailbox accounts that do not actually exist in the systems passwd db). When we deployed it at said hosting company, we were delivering close to a million messages a day and saw lookup times, delivery times, queue times, pretty much everything drop to about 1/4 of their levels w/Sendmail. Postfix is blazingly fast.

    Postfix isn't for everyone tho. If you're only running a few domains and/or Sendmail came preconfigured on the box you're running it on then you're probably fine sticking w/Sendmail. We actually only used Postfix as a hub and used Sendmail on all our severs in a relay only mode. If you know Sendmail back and forth and can make it jump through flaming hoops I wouldn't necessarily advise switching to Postfix unless you're looking to wring more out of your MTA and want to do it relatively easily and securely.

    Someone correct me if I'm wrong, but I don't think Postfix has even had any remote exploits (it doesn't run as root out of the box)?
  • by mattrope ( 212499 ) on Friday April 23, 2004 @05:51PM (#8954764)
    I, personally, set up a 'backup MX' record to point at one of my IPs that didn't actually run a mail server, and cut my daily spam attempts by 30%.

    And you probably dropped the reachability of legitimate mail too. I'm sure that works well in your little playground, but this is a real environment and we have SLA's to honor.

    Actually, using an unreachable backup MX is an excellent idea and shouldn't affect legitimate email at all. Real mail servers (i.e., servers running software like sendmail, postfix, exim, etc.) will try to deliver a message to each MX server, from high priority to low priority, until they find one that is accessible. So if he sets up a bogus MX server at the lowest priority, all of his other MX servers will still be attempted (and if they're all down for some reason, he's screwed anyway). However, spammers often use custom mass-mailing software that isn't smart enough to try all MX servers. In fact, their software seems to specifically target the lowest priority MX servers, probably because they think these servers will be less likely to inspect and reject the message at SMTP time. So if your lowest priority MX server is bogus and doesn't really exist, spammer software might not be smart enough to actually try the other MX servers; it will give up and move on to the next victim.

    So using this technique shouldn't affect legitimate email, but it stands a good chance of cutting down on some spam. I'm glad he posted it.
  • Right, I have time to read an 800 page configuration guide. Personally, I prefer a system that's locked down to start, is easy to get going, and is scalable. Everything that sendmail is not (or wasn't under 8.x). ;-)

    I've used sendmail, and I've used postfix. I definitely prefer postfix. I didn't think I would, I had a serious sendmail bias a few months ago, but I'm a convert. PGSQL support did it for me, I think.

Neutrinos have bad breadth.

Working...