Changes

Dovecot and Postfix Hybrid Authentication Example

88 bytes removed, 01:21, 14 February 2014
The following lines were added (+) and removed (-):
== configure postfix ==== configuration steps with examples ===== Step 1: prepare necessary files and directories ===Locate your postfix configuration files, they might be in /etc/postfix, or /etc/mail/postfix, or /etc/mail depending on your distro and installation.  For Redhat/Fedora/CentOS you will likely find the following directory structure:Locate your postfix configuration files, they might be in /etc/postfix, or /etc/mail/postfix, or /etc/mail depending on your distro and installation. /etc/poastfix /etc/dovecotYou will have to manually create some files. touch /etc/postfix/virtual touch /etc/postfix/domains touch /etc/postfix/vmailbox mkdir /etc/auth touch /etc/auth/yourdomain.com/passwdThis document is not complete... here is a summary== Step 2: edit the postfix main.cf == * Set up postfix virtual mailbox text file with email address and destination folder - this is plain text file that must be made hash database* Make sure all domains are configured in postfix* create a passwd file for each virtual user domain /etc/passwd.domain.com* edit dovecot/conf.d/auth-checkpassword.conf.ext mail_location = maildir:~/Maildir passdb {  driver = pam }  driver = passwd-file  args = /etc/postfix/passwd/%d == edit the postfix main.cf ==== edit the dovecot.conf ==== Step 3: edit the dovecot.conf ==== edit conf.d/10-auth.conf ==== Step 4: edit conf.d/10-auth.conf ==== edit conf.d/auth-checkpassword.conf.ext ==== Step 5: edit conf.d/auth-checkpassword.conf.ext ==
Bureaucrat, administrator
16,192
edits