Setup a mail server using Postfix, Mysql

Tutorials Shared by the Internet Community


Setup a mail server using Postfix, Mysql

If you want to create a Mail Server with Virtual Users using Postfix, MySQL, SSL, IMAP and POP3 this is all you need.


  • Total Hits - 29262

  • Total Votes - 117 votes

  • Vote Up - 53 votes

  • Vote Down - 64 votes

  • Domain -

  • Category - Linux/Administration

  • Submitted By - Devesh Khanna

  • Submitted on - 2008-04-25 12:34:16


The following packages need no compilation, so you can use pkg_add.



If you want your mysql logs placed someware you can modify in /usr/local/etc/rc.d/ the line for command_args and add --log=/your/directory/mysql.log.

First thing, change your root password:

#mysqladmin -u root --password='your_password_here'

The following commands you should type at mysql prompt.    More detail...

Broken  |   Tweet  |   Facebook  |     |   Save  |   Liked  |   Down