Postfix+dovecot+maildrop+mailscanner+clamav+spamassassin build

  
 

Prepare before installing the configuration:

1. Change the host name (not necessary, but not other host names except localhost, modify the host name to avoid unnecessary errors)

#hostname mail.test.com

#vi /etc/sysconfig/network

Modify HOSTNAME=mail.test.com

Logout and log in, verify A:

#hostname

#uname -n

The display is consistent, indicating that the next step is ready.


2.DNS Settings

If you can easily add the A record and MX record of your mail directly in your domain management background. If it is a test environment for a while, then build a dns service yourself, in fact, it is very simple.

Download bind9.8 from www.isc.org, this is the latest version.

#tar zxvf bind-9.8.0.tar.gz#cd bind-9.8.0#./configure --prefix=/usr/local/bind --enable-threads#make;make install# /usr/local/bind/sbin/rndc-confgen > /usr/local/bind/etc/rndc.conf#tail -10/usr/local/bind/etc/rndc.conf

Copyright © Windows knowledge All Rights Reserved