From Qmail to Postfix

Well, when I moved to my new server, I found a Qmail installation preconfigured with its Debian Linux. Qmail was working stable, could be administrated through some web-interface that came with the server, and provided a virtual mail system through vpopmail.

But: Qmail turned out to be a nightmare in configuration. It’s not just a single programm, it consists of many different programms spread all over the system. And there is no single config file, as you would expect and as you are used to by each and every Linux software I know. Instead you have lots of files containing just one single parameter, and they may or may not exist.

It became even worse when I tried to integrate RBL-checks. The installation had no built-in spam/virus-checks, and the only way I figured out to integrate them was to set one certain parameter in the startup script – and it turned out to be very stupid because it would check even the mails I was sending, and would sometimes refuse me as an authenticated user to send emails to certain addresses. Dumb!

So I wanted to switch back to my well known Postfix virtual mail system. But how to do it on a production system without causing too much downtime of the mail system? The Gentoo installation instructions took quite a long time!

Fortunately I found an excellent all-in-one Postfix-virtual-email-package: vPostmaster! Installation was a breeze with its installation script, and setting up and configuring the complete system took about two hours only. It came with a web interface, integrated Spamassassin, ClamAV antivirus, Greylisting, SPF and Mailman mailinglists. As Postfix and Qmail use the same mailbox format, I could easily copy the mailboxes over to the vPostmaster directory. And I could integrate my RBL-checks again. Nice!

I had only some few minor error messages during installation, and the only drawback I can see so far is the required Postgresql database, which I had to set up for this purpose only.

I’m happy again with my mail server now, thank you guys!

3 Antworten Subscribe to comments


  1. Flo

    religionskrieg! religionskrieg!

    ich benutz auch lieber postfix als qmail, aus dem gleichen grund: einfacher zu bedienen, auch „abgefahrene“ features sind leichter einzubinden.

    trotzdem ist dein qmail bashing irgendwie fehl am platz.

    der bernstein ist echt ein rechthaberischer, arroganter sack, aber so ziemlich alles, was der macht, ist eine design-*entscheidung*, nicht so ein „wir haben das schon immer so gemacht“ scheiss.

    durch die kleinen einzelnen files erspart sich qmail zB mal den kompletten config file parser scheiss. das ist *nicht schlecht*.

    outbound mail checking ist, fuer nen mailserver, den du nicht allein benutzt, nicht bloed: zumindest outbound anti-virus ist auf jeden fall sinnvoll, sollten manche deiner kunden zB outlook fuer ihre email-geschichte verwenden…

    naja whatever.

    danke fuer das rum-mit-limettensaft rezept, das muss ich möglichst bald mal testen.

    29.03.2007 @ 15:32


  2. Johannes

    Sollte auch kein Qmail-Bashing sein. Ich fand es nur ziemlich unmöglich, Qmail so zu konfigurieren und arbeiten zu lassen, wie ich es gerne gehabt hätte, und vPostmaster konnte alles Out-of-the-box. Wenn es das gleiche für Qmail gegeben hätte, wäre ich wahrscheinlich dabei geblieben…

    Viel Spaß beim Tiefseetauchen! ;-)

    31.03.2007 @ 13:08


  3. Georg

    Es gibt für qmail auch ein „Out-of-the-box“ Script / Projekt. Schau mal unter : http://www.tnpi.net/wiki/Mail_Toaster

    08.01.2008 @ 17:55


Archiv
Kategorien
Suche