Difference between revisions of "Postfix How-To"

From Secure Computing Wiki
Jump to: navigation, search
(New page: *<i>Loosly follows the How-To at [www.purplehat.org www.purplehat.org].</i> ==== Install MySQL ==== <ol><li>Install MySQL 5.0 Port: <pre>#cd /usr/ports/databases/mysql50-server #make all ...)
Line 1: Line 1:
*<i>Loosly follows the How-To at [www.purplehat.org www.purplehat.org].</i>
*<i>Loosly follows the How-To at [[www.purplehat.org www.purplehat.org]].</i>
==== Install MySQL ====
==== Install MySQL ====

Revision as of 14:02, 24 April 2007

Install MySQL

  1. Install MySQL 5.0 Port:
    #cd /usr/ports/databases/mysql50-server
    #make all install clean
  2. Add MySQL to system startup in /etc/rc.conf:
    #echo ‘mysql_enable=”YES”‘ >> /etc/rc.conf
  3. Start MySQL
    #/usr/local/etc/rc.d/mysql-server start
  4. Secure MySQL root account:
    #mysql -u root mysql
    >UPDATE user SET Password=PASSWORD(’mysql_root_password‘) WHERE user=’root’;

Postfix Installation

  1. Install Postfix port:
    # cd /usr/ports/mail/postfix
    # make install clean
  2. When asked for options, select PCRE, DOVECOT, TLS, BDB, MYSQL, and VDA