Install a Complete Mail Server with Postfix and Webmail in Debian 9

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.95/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Matei Cezar

I'am a computer addicted guy, a fan of open source and linux based system software, have about 4 years experience with Linux distributions desktop, servers and bash scripting.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

11 Responses

  1. Emanuel says:

    Thanks. Great work! It saved me lots of hours.

  2. lyes says:

    Hi, thanks for this tutorial, but if we want to change our domain name, would it work if we just update the postfix config file (Main.cf) ?

  3. pelle says:

    Awesome tutorial. How would I go about to use this with multiple domains? step 4,5 and 6 for each?

    • Matei Cezar says:

      Multiple domains with postfix is a complex subject and requires more expertise with postfix and databases. It all depends on where you want to store your virtual domains and accounts (flat files, mysql, postgres databases …)

  4. Gary says:

    Really good tutorial!
    Thanks for all your effort

  5. Makro says:

    I’m having the same problem, everything is working perfectly.
    I can only send emails through Webmail, but I do not receive any.

  6. geekatlab says:

    Thanks for the great tutorial, every thing works perfect but only one issues when I am sending email from webmail, it is showing error message as Authentication Failure when I press sent any suggestions on this please ? what might be wrong..

    Thanks

  7. Otacon says:

    Hello ! First of all great tutorial ! Really ! :D

    Then, Actually I follow all the steps of the tutorial and it works, I just have one issue. When I sent a email from a user from the webmail, the destination user receive the email in his Maildir but not in his webmail. Maybe you have some advices or answers to my questions ?

    Thanks again.

  8. Walter Casañas says:

    Great tutorial. I hope you do some on how to use virtual users in postfix with a MySql database

  9. Paul says:

    Great tutorial. I encourage you to create the second part about mail server security (DKIM, SPF, Spamassassin, etc.).

    That would be perfect tutorial how to create complete Linux mail server on Debian.

    Thanks again.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *