Comments on Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Fedora 18 x86_64)
This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I'll also demonstrate the installation and configuration of Courier (Courier-POP3, Courier-IMAP), so that Courier can authenticate against the same MySQL database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and TLS and quota. Passwords are stored in encrypted form in the database. In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin and ClamAV so that emails will be scanned for spam and viruses. I will also show how to install SquirrelMail as a webmail interface so that users can read and send emails and change their passwords.
5 Comment(s)
Comments
Need to install: yum install libtool-ltld-devel
Need to install: yum install expect
Need to install: yum install postgresql-devel
Need to install: yum install sqlite-devel
Need to install: yum install mysql-devel
yum install expect gdbm-devel pam-devel gamin-devel openssl-perl ghostscript mgetty-sendfax netpbm-progs pcre-devel libidn-devel
HelloSir
This is a very good tutorial to show us the methods.
And i do it step by step. I have one question about Creat the mail folder. Everything is Ok but it can not generate the User Mail Folder at ../Vmail/ automatically. Mysql Is Ok, and i want to konw whether you had met such a problem.
Best wishes
JI
If you use this tutorial for Fedora 24 (adapt it please!) then visit https://sourceforge.net/p/vda/mailman/vda-users/
to get the link to the latest postfix-vda-v13-3.1.1.patch and adapt the specs file:
[...]
# PatchesPatch0: postfix-vda-v13-3.1.1.patchPatch1: postfix-3.0.0-config.patchPatch2: postfix-3.1.0-files.patchPatch3: postfix-3.1.0-alternatives.patchPatch4: postfix-3.1.0-large-fs.patchPatch9: pflogsumm-1.1.3-datecalc.patch[...]
%prep%setup -q# Apply obligatory patches%patch0 -p1 -b .vda-v13%patch1 -p1 -b .config%patch2 -p1 -b .files%patch3 -p1 -b .alternatives%patch4 -p1 -b .large-fs[...]
"The forwardings table is aliasing one email address to another, e.g. forward emails for [email protected] to [email protected]."
How can I use the forwardings table for aliasing one email address to more than one, e.g. forward emails for [email protected] to [email protected] AND [email protected] ??
What I've tried:
comma delimited list of addresses in destination field
space delimited list of addresses in destination field
adding two records with the same address in source field, but that gets rejected because it's the primary key and must be unique.