Table of Contents
Mail server configuration
Warning! Mail server configuration requires administrator knowledge. Please do remind that the proposed configuration files may not work or not for your system and for your network configuration.
Exim
Exim is a Mail Transfer Agent. If you already have installed the packages at the beginning of this guide, you don't need anything else. In order to work with PostgreSQL, Exim needs the Exim Heavy daemon.
Sample configuration:
/usr/share/doc/vhffs/config/exim4-mx1/exim4.conf
Then:
cp /etc/exim4/exim4.conf /etc/exim4/exim4.conf.orig cp /usr/share/doc/vhffs/config/exim4-mx1/exim4.conf /etc/exim4/exim4.conf
and modify it /etc/exim4/exim4.conf according to your needs.
Then reload exim4.
Courier
Courier is the Imap/Pop server used to access mail boxes. It uses the Vhffs databases to check the users, then it needs a read access to the vhffs databases.
In the Vhffs source code, you will find configuration samples for followings softwares:
[sources]../vhffs-doc/config/courier/authdaemonrc [sources]../vhffs-doc/config/courier/authmodulelist [sources]../vhffs-doc/config/courier/authpgsqlrc [sources]../vhffs-doc/config/courier/imapd [sources]../vhffs-doc/config/courier/imapd-ssl [sources]../vhffs-doc/config/courier/pop3d [sources]../vhffs-doc/config/courier/pop3d-ssl
Copy these files into /etc/courier/ and perform the modifications you need in order to access the vhffs database.
Then reload exim4 and all courier-related softwares.