Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to find a complete / solid guide on setting up a Postfix server on Ubuntu 11.04 Server.

I want to install using MySQL so I need one that talks about setting up the DB.

Everything I have found is either out of date or is not complete.

Any help would be appreciated.


Would these SQL statments work?


All of the posted postfix guides are awesome, I just need to the SQL table structures.

I was wondering if these would work.

share|improve this question

closed as off-topic by masegaloeh, Sven Jan 17 '15 at 9:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

What have you looked at that's out of date (so others won't post links to things you've already tried) – Bart Silverstrim Jun 16 '11 at 13:55
up vote 2 down vote accepted

You can follow this tutorial, although it's for debian but I guess there are not much different.

share|improve this answer
I actually found that one and it seemed to really good, I think I am going to follow it. – ianc1215 Jun 20 '11 at 15:13

Look at the server guides at to get started. There are guides for setting up a mysql server there, and you may want to add a web server to host phpmyadmin. The postfix section does not talk about using postfix with mysql, but reading it may still be helpful. Most likely, just installing postfix-mysql and answering the questions will be enough to get you started with the email server side of things.

share|improve this answer

The official postfix web site has extensive documentation.

For a basic configuration tutorial, read the Basic Configuration Readme:

"Setting up the DB" is probably something too specific to be covered in detail in any tutorial. Generally, you set up your mail server to match the DB, not the other way around, because the assumption is that you already have your user accounts (or other relevant info) in your database. In any case, the MySQL Readem here is going to be of great help to you.

share|improve this answer

Go get a look here Server-world, read, enjoy!

This web site is very usefull for install, configuration, use of most program you might need on a linux server!

share|improve this answer
Very interesting site. – ianc1215 Jun 17 '11 at 10:57
indeed right ^^ – Anarko_Bizounours Jun 17 '11 at 11:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.