Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



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:
  • by geek ( 5680 ) on Friday April 23, 2004 @11:18AM (#8950232)
    Because of the design flaws in it and the fact that muh better MTA's now exist yet many people, some like you, refuse to migrate for the betterment of the internet.

    My preference is qmail, only because I haven't used postfix in a production environment yet.
  • missing step (Score:5, Insightful)

    by SuperBanana ( 662181 ) on Friday April 23, 2004 @11:28AM (#8950370)
    [long list of software install steps snipped]

    Nowhere did I see:

    "-read the changelog notes to see if any of the numerous changes classified as "incompatible" affected me or my users".

  • by gtoomey ( 528943 ) on Friday April 23, 2004 @11:32AM (#8950414)
    SASL authentication was a shocker to get working with Postfix. Some people had not problems, but Murphy'y Law meant I never got it working properly. Lets hope its fixed.

    And it looks like content filtering (spam & virus filters) has been improved with version 2.1

  • Developers?? (Score:3, Insightful)

    by shift ( 222320 ) on Friday April 23, 2004 @11:33AM (#8950425)
    Why is this in the developers section? Wouldn't it be more appropriately placed in a topic for system administrators?
  • by Anonymous Coward on Friday April 23, 2004 @11:41AM (#8950539)
    I hope you designed for failure. When that old CPU fan craps out, a fast Postfix will do no good. Free software should not mean using old, unreliable hardware for critical tasks.
  • Proper software doesn't need tuning to do its job.

    You may or may not be correct in this particular case, but as a general statement, that's just stupid.

    Do you really mean that the exact same settings for a little desktop (high priority to input-related tasks, swap only when needed) would work well for a high-load server (high priority to compute-related tasks, swap agressively to make RAM quickly available)? There are a lot of settings on a modern system that just can't be inferred by the system itself. Stating the opposite like it's an obvious fact is ignorant, misleading, or both.

    A real-world example: a Usenet spool and an MP3 repository may be the same size, but benefit hugely from tweaked bytes-per-inode or journal settings. In some cases, once the system is running, it's too late to easily change your mind (like bytes-per-inode). In other cases, you can switch at will, but not without unmounting the filesystem (ext3 journaling options). You, as the administrator, make those decisions. Either way, even if the computer were capable of recognizing that you'd made a bad decision, it's not in a position to correct them.

    A real-world example: I tuned Sendmail to use delayed sending so that when a client blasted 20,000 copies of a newsletter (yes, opt-in), then it would wait for several minutes so that it could efficiently aggregate recipients by domain. In there situation, telling Sendmail to leave email in the queue for 10 minutes meant a 50% savings in bandwidth. How on earth would you expect a self-tuned MTA to ever make that discovery on its own?

    Computers do some things well. Predicting the future usage patterns of their owners without mounds of previous input is not one of them. That's where manual tuning comes in, and why real system administrators still paid decently.

  • by rsidd ( 6328 ) on Friday April 23, 2004 @12:07PM (#8950897)
    Just like KDE is not Free Software because it is based on Qt, which has a comercial license?

    I wonder when people will stop repeating this rubbish. Qt has been GPL'd for years. It is also available under a commercial licence, but that has nothing to do with KDE, it's in case you want to develop a closed-source application with Qt. (And it seems to be an excellent business model.)

    As for qmail, you're not allowed to distribute modified versions, and the rules on distributing binaries are rather stringent and almost impossible for distributors to follow. That makes it not quite "free software" (by FSF's definition) or "open source". (However, you're allowed to distribute patches, and even bundle patches with unmodified source in a tarball; you can download one such tarball, called netqmail, from http://www.qmail.org).

  • by geek ( 5680 ) on Friday April 23, 2004 @12:13PM (#8950970)
    If by religious you mean common sense discussion then sure. There is literally ZERO reason to use sendmail now. There is nothing you can do with sendmail that can't be done with Postfix or qmail and you'll get better performance and security to boot.

    Technology like everything else has a life span. Sendmails ended long ago, get over it.
  • by gnuman99 ( 746007 ) on Friday April 23, 2004 @12:23PM (#8951099)
    Uhhhm, why now just use the cluster to filter stuff, and then just map the mail to an internal SMTP server which moves the traffic to user accounts. That way your cluster will not need to use NFS, but just their own disks (which is faster, most of the time), and the internal SMTP server will not get loaded that much since it does nothing that CPU intensive (no filtering).
  • by Azghoul ( 25786 ) on Friday April 23, 2004 @12:40PM (#8951330) Homepage
    Way to help the guy actually learn something. Real friendly there, buddy.

    Too bad the rest of us aren't experienced mail administrators like you are.
  • by woulduno ( 597978 ) on Friday April 23, 2004 @12:42PM (#8951360)
    Cause Postfix was built for people who do not understand how to properly configure a mailserver. It assumes you are new and keeps it locked down by default. Where sendmail is more customizable and faster (http://www.benchmarks.dmz.ro/article.php?story=20 02081221400018), although Qmail is faster, for standard configurations.. Sendmail is great for large high volume sites, where postfix is great for the home user or smaller sites. Although it can still be used in larger sites.. I personally have been using sendmail for years and cannot remember a security issue that applied to me. Mostly because I know how to configure sendmail and it is very well tuned. I worked with a company that sent stock notifications where we pushed over 5 million messages in under 30 minutes with 8 Sun Netra's with 440 mhz CPU's.. In case you do not get the math that is about 20,833 thousand messages per minute per machine! Running sendmail..
  • by dmeranda ( 120061 ) on Friday April 23, 2004 @12:58PM (#8951530) Homepage
    I've been using sendmail for nearly 15 years in some pretty complex environments, and am pretty happy with it. But I have nothing against Postfix either (except it has been lacking features, for me, and sendmail works just grand).

    I can't quite understand the religous flame wars over MTA choice either. I mean, I can kind of understand the whole emacs vs. vi or gnome vs. KDE. But why fight over MTA's? It seems there is an awful lot of hatred for sendmail, and for no good reason whatsoever. It's just stupid.

    I think a lot of it has to do with sendmail having such a long and rich history; anything which has existed for over a decade tends to get a lot of newbie disapproval. Also the configuration can be rather complex, and I think most people who flame about sendmail just don't want to 'fess up to being too dumb to understand it (with my asbestos suit on), and so resort to juvinile name calling.

    Also you have to remember that probably 95% or more of the /. readers never use an MTA in anything but the simplest of configurations. Most likely a home computer or a small LAN. Those who have to manage email for large corporations in very complex networks, etc., can appreciate all that raw power and flexibility of sendmail much more. But to most, it seems like an overly complex mess.

    And about the security-flaw reasoning. That's just an easy way for flammers to badmouth sendmail without really giving true reasons. Any software which has had such a long history and unbiquitous use as sendmail has a history of security flaws. For that matter Unix itself has had an absolutely abismal security record. And yes, someday Postfix will have it's own history to brag about too. But in all cases the flaws were quickly fixed, and the vast majority of flaws required a very specific configuration to even be a problem. Also many security problems result from improper installation; you can run sendmail in a very security setup if you want (just avoid all the FUD about sendmail). You can't compare Postfix and sendmail based solely upon their history of security, because sendmail's history is decades longer than Postfix's. And sendmail has processed perhaps a million trillion times as many email messages as has Postfix over it's lifetime.
  • It's not the flaws, it's the architecture and development methodology, although I've heard both have been revamped in 9, I haven't checked myself.

    Postfix has several security policies:

    1) no process will ever _touch_ user data as root
    2) all data is converted into fixed-length records for internal use
    3) each program is small and does one task using the least privilege concept

    There are others, but I can't think of them right now. Up until V8, sendmail had the monolithic, let's-run-everything-as-root concept. It's not that sendmail has flaws, it's that sendmail is so susceptible to flaws just by its design.

    Again, I'm not aware of the improvements done in V9, as I had already switched to Postfix.
  • "The one potentially bad thing about your mention of Postfix using fixed-length records, is that is usually the root cause for buffer overflows."

    Incorrect. What Postfix does is BREAK UP a message into fixed-length pieces so that a buffer overflow CANNOT occur.

    Buffer overflows are a problem when you ASSUME that a field is of X length but it's actually Y. Since Postfix breaks up lines into fixed-length quantities, it prevents lots of potential problems because there is no way that a line could overflow.
  • by Rabbitt ( 741607 ) on Friday April 23, 2004 @02:12PM (#8952378) Homepage
    Postfix is -not- written in perl. Postfix is written in C. Please, in the future, at least -know- what you are talking about before posting.

  • by Anthony Boyd ( 242971 ) on Friday April 23, 2004 @02:21PM (#8952453) Homepage
    It seems Exim 4 was released Feb 2002. It includes IPV6, TLS, and SMTPAUTH via PAM, LDAP, MYSQL, PostgreSQL and more.

    I wrote a Perl-based whitelist program [outshine.com]. My biggest problem in the Exim vs. Postfix wars is that Exim (at the time I wrote the whitelist app) doesn't offer all the status codes that Postfix does. So my ability to bounce email with informative messages is limited in Exim. Postfix, no problem. But since you seem to know all about Exim's features, what can you tell me about the last 18 months of development? Do it offer more in the way of response codes?

  • by Kunta Kinte ( 323399 ) on Friday April 23, 2004 @02:49PM (#8952762) Journal
    I was going to mod you down, but I figured I corrected you instead.

    It is not the MTA's (Mail Transfer Agent) job to put the mail on the filesystem, that's the MDA's (Mail Delivery Agent) job. Sendmail is a Mail Transfer Agent. Sendmail, for as long as I've known, as a pluggable MDA format, where you can put in any MDA you choose. You can easily build your own MDA for Sendmail. Not to mention if you use Milter.

    This is rudimentary internet mail handling.

    For example, I use Cyrus IMAP's MDA with sendmail; and thus sendmail simply hands the Cyrus MDA my mail once sendmail has figured the mail belongs on this server.

    Thus in a way, Sendmail, Postix, and all other MTA are essentially routers.

  • And I suppose you have some explanation of how having an unreachable backup MX lowers your chances of getting email to your primary MX?

    ...

    I thought not. SMTP doesn't work that way. A mail server tries all possible MX servers, in order.

    If my primary is, for god know what reason, unreachable, then it wastes a single second of the mail sender's time to check the backup before queueing the mail. That's the entire net effect. You'll get your delayed mail a second later, in theory, which doesn't actually happen because no one runs around setting retry timers that trigger the exact second anyway.

    As for relay servers...you need hundreds of those why, exactly? You're operating one of those crazy-ass overloaded networks, apparently, where mail bounces through two or even three SMTP servers both going in and out.

    Those networks are brokenly designed. Sorry, but it's true. I understand why you can't fix them at this point, but it doesn't mean they were designed correctly.

    There's absolutely no reason not to have a single incoming point (Or even sets of points, via NFS directories.) for each account, where a message comes in and is stored 'locally', and absolutely no reason not to have one outgoing server for each outgoing message, when then sends the message directly to the recepient. (Those can be the same system, or not.) And maybe backup MXs for collecting mail when the system is down. No one has ever explained to me why a mail system needs to be more complicated than that. Anything more complicated than that is probably just historical nonsense laying around.

  • That's what I'm saying.

    If you're having an excessively large volume of mail, and want to add more relay servers, the solution is to add more identical servers with round-robin DNS, and possibly a larger pipe.

    Having them pass mail among themselves via a shared NFS server isn't going to help anything at all. The ideal solution would be to have most mail in and out in ten seconds.

    And, if large amounts of undeliverable mail are piling up, a shared queue just hurts things, not helps them. That just means every server will check every message to see if it's time to deliver it, repeatedly. Over the network.

    Now, if he wants to do something sort of like this that actually help, a solution would be what postfix calls a 'fallback relay'...a server where mail that can't get delivered in X time goes. Where you can have some extra sanity checking that will quickly delete mail that can't ever be delivered, but you don't want to run on every message.

  • by zulux ( 112259 ) on Saturday April 24, 2004 @12:08AM (#8957021) Homepage Journal


    I agree myself too. I *like* Qmail better than Postfix... but I realise that Postfix has a gurenteed future so that's what I run.

Kleeneness is next to Godelness.

Working...