Postfix + DKIM setup

Installation

1. Get the rpmforge repo and install it.

# wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

# rpm -ivh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm

# yum install opendkim postfix

2. stop sendmail and remove from auto start.

# /etc/init.d/sendmail stop
# chkconfig remove sendmail

3. add postfix and opendkim to the autostart pool

# chkconfig postfix on
# chkconfig opendkim on

4. configure postfix.

# vi /etc/postfix/main.cf

Continue reading…

Qmail Installation

qmail is an SMTP-based message transfer agent (MTA) that runs under all variants of Unix and is compatible with sendmail. It is preferred over sendmail as it is significantly easier to configure and deploy.

Download:

http://www.qmail.ca/netqmail-1.05.tar.gz
http://cr.yp.to/ucspi-tcp/ucspi-tcp-0.88.tar.gz
http://cr.yp.to/daemontools/daemontools-0.76.tar.gz

# mkdir -p /package
# mv daemontools-0.75.tar.gz /package
# cd /package
# tar xvzf daemontools-0.76.tar.gz
# chmod 1755 /package
# cd /usr/tmp
# tar xvzf netqmail-1.05.tar.gz
# cd netqmail-1.05
# ./collate.sh

Continue reading…