Comments on How To Configure ISP Mail Server With Virtual Users/Domains On Centos 5.0 Using Postfix, Dovecot, MySQL, phpMyAdmin, TLS/SSL

How To Configure ISP Mail Server With Virtual Users/Domains On Centos 5.0 Using Postfix, Dovecot, MySQL, phpMyAdmin, TLS/SSL This howto will explain how to go about setting up an email server on Centos 5 using Postfix, Dovecot, RoundCube, Virtual Users/Domain and phpAdmin. I have also done a similar setup on Fedora Core 6. My best advice is to set this up first on a workstation and test it thoroughly before setting up on a server and going live with it!

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By:

This is a good hwoto despite the typos. Still, I had a hard time figuring out how I would have postfix authentificate senders.

I would recommand you read "Dovecot SASL configuration for the Postfix SMTP server" at http://www.postfix.org/SASL_README.html so that you don't waste as much time as I did searching forums.

Thanks,

- Stéphane

By: Drew

If you are installing on x86_64 change the postfix make file args to the following:

make makefiles \
CCARGS='-DUSE_SASL_AUTH -DHAS_SSL -DHAS_MYSQL -DHAS_LDAP -DUSE_CYRUS \
-I/usr/include/sasl -I/usr/include/openssl \
-I/usr/include/mysql -I/usr/include' \
AUXLIBS='-L/usr/lib64 -L/usr/lib64/openssl/engines \
-L/usr/lib64/mysql -L/usr/lib64 \
-lsasl2 -lcrypto -lssl -lmysqlclient -lz -lm -lldap -llber \
-Wl,-rpath /usr/lib64/mysql -Wl,-rpath /usr/lib64 \
-Wl,-rpath /usr/lib64/openssl/engines'

By: john

taking into account "Compiling on x86_64" by drew, the compiling syntax for postfix is way off  for more than just architecture and needs to be changed as follows.

Running centos 5.3 and the latest versions of dovecot, postfix, and etc.

 

Here are the build arguments for postfix 2.6.0 for a 32 bit:

make makefiles \
CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DHAS_SSL_SASL -DHAS_MYSQL -DHAS_LDAP_SASL -DUSE_CYRUS_SASL -DHAS_OPENSSL\
-I/usr/include/sasl -I/usr/include/openssl \
-I/usr/include/mysql -I/usr/include' \
AUXLIBS='-L/usr/lib -L/usr/lib/openssl/engines \
-L/usr/lib/mysql -lmysqlclient -lz -lm -L/usr/lib \
-lsasl2 -lcrypto -lssl -lz -lm -lldap -llber \
-Wl,-rpath /usr/lib/mysql -Wl,-rpath /usr/lib \
-Wl,-rpath /usr/lib/openssl/engines'

Things were seriously missing from above; other things are missing and will be in the comments on the next pages they occur on.