Comments on Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1)

Virtual Users And Domains With Postfix, Courier And MySQL (CentOS 5.1) 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 (quota is not built into Postfix by default, I'll show how to patch your Postfix appropriately). Passwords are stored in encrypted form in the database (most documents I found were dealing with plain text passwords which is a security risk). In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin and ClamAV so that emails will be scanned for spam and viruses.

8 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

I have created new RPMs for courier IMAP. They are avaliable here
version 4.3.1

By:

Hello.
I use this tutorial.
It is excellent.
But I need to let users to change they password so I make this simple php script.
http://phpart.biz/index.php?module=chpasswd
I hope will be useful for someone.

Best regards,
Doru Barit

By: Anonymous

Is it possible to use proftpd instaed of vsftpd?

By: Elfofdark

I can't access http://ipd/phpmyadmin, it gives to me 404 not found. Maybe because i don't have anything in /var/www/html ?

 I did everything you said up every step with no error but i can't understand what did i miss. Please help me!

By: Daniel

Look at this!

 

http://blog.kdn2.info/2010/11/postfx-postfixadmin-dovecot-roundcube-centos/

By: Anonymous

How do you create user mailboxes? with maildirmake? or just sending an email to you new mailbox? I followed this guide too but i dunno how to create mailboxes in /home/vmail.

Any suggestion?

By: Arfie

Hai doiu,

I have a problem with my squirrelmail.

When i want to change my password, i get error like this:

  ERROR:Connection refused (111)

And when i go to :

http://phpart.biz/index.php?module=chpasswd

to get module chpasswd, this site is down.

would you mind if you give me that module to fix my problem?

Thank you very much 

 

By: Anonymous

Hello,

 

i have this setup running for 1 year now, lately it started marking mails as spam that are not.

I tried putting  "whitelist_from" into /etc/mail/spammassin/local.cf,

but the mails are still marked as spam.

So I have to put the whitelist somewhere else in this setup?