Setup a mail server using Postfix, Mysql

Tutorials Shared by the Internet Community

Advertisements


Synopsis

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

Statistics

  • Total Hits - 27938

  • Total Votes - 117 votes

  • Vote Up - 53 votes

  • Vote Down - 64 votes

  • Domain - www.freebsdonline.com

  • Category - Linux/Administration

  • Submitted By - Devesh Khanna

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

Description

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

#pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/mysql_client-4.0.24.tbz

#pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.4-release/All/mysql_server-4.0.24.tbz

If you want your mysql logs placed someware you can modify in /usr/local/etc/rc.d/mysql.sh 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. ...


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

Advertisements