Comments on Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 5.3 x86_64)

Virtual Users And Domains With Postfix, Courier, MySQL And SquirrelMail (CentOS 5.3 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 used by Postfix.

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Aleksandar Obradovic

oh man you made me google for "stanza"...

 

anyway tnx for that tutorial... great job..

By: hyeteck

Thanks.

You missed a package in step 3.  cyrus-sasl-plain is required.  You had the devel package in there but forgot the plain package.

 my telnet test on step 15 was just hanging and /var/log/maillog was spitting out

warning: xsasl_cyrus_server_get_mechanism_list: no applicable SASL mechanisms
fatal: no SASL authentication mechanisms

 once the cyrus-sasl-plain package was installed, everything started working just fine. :)

 

By: darrelltwo

The location of the "sudo" config file is omitted in step 4 (and not the actual file name that needs to be edited), so running "vi sudo" from just anywhere, creates a new file. Did you mean vi /etc/sudoers ????You didn't mean any of these, which are the only 'sudo' filenames in Centos:

/etc/pam.d/sudo
/var/run/sudo
/usr/share/logwatch/scripts/services/sudo
/usr/bin/sudo
 

 Honestly, when you guys just copy/paste instructions from one tutorial to another, I guess for bragging rights of being the one who wrote the tutorial, instead of running the steps yourself, mistakes like this and leaving out packages (like cyrus-sasl-plain) crop up and it discredits "howtoforge".

By: admin

The correct command is

visudo

as shown in the tutorial. Please keep your accusations for yourself if you don't know what you're talking about. We're testing every new tutorial, and they work exactly as shown.