Comments on Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (Ubuntu 12.10)

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, 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.

6 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Maqsood

Dear Recipient,

I am facing problem while configuring Postfix, I am performing same steps as given in this article. But I am receiving error message while run this commend “dpkg -i postfix_2.9.3-2ubuntu2_amd64.deb postfix-mysql_2.9.3-2ubuntu2_amd64.deb”. I am using Ubuntu 12.10 server edition. Waiting for your nice guidance

By: Anonymous

Nice guidance - why don't you tell us what the error message is so we can see it? :)

By: Rinti

Its a nice post. I have done accurately and its running fine. But I got another problem. that is about vacation responder / auto reply. I got few ways in internet. but none works for me. As I followed your tutorial, I request you to give a tutorial for auto response working with this configuration.

By: Anton

Nice description, but when restarting clamav-daemon you get the following message:

LibClamAV Error: cli_cvdload(): Can't create temporary directory /tmp/clamav-...

LibClamAV Error: Can't load /var/lib/clamav/daily.cvd: Unable to create temporary directory

By: Anton

chmod 1777 /tmp

would be the solution, but that leads to a

LibClamAV Error: lsigattribs: Incorrect format of attribute ...

LibClamAV Error: Problem parsing database at line 1343LibClamAV Error: Can't load /tmp/clamav-70666afaf1f8e00718c07eed5ae41641/daily.ldb: Malformed databaseLibClamAV Error: Can't load /var/lib/clamav/daily.cvd: Malformed databaseERROR: Malformed database

By: Anton

Please forget my last 2 posts, got a wrong alias in my shell and worked on an older debian version :D