User Tools

Site Tools


qmail-ldapwithdovecotondebian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

qmail-ldapwithdovecotondebian [2016/04/17 19:36]
ian
qmail-ldapwithdovecotondebian [2020/02/13 22:55]
Line 1: Line 1:
- 
-====== qmail-ldap With Dovecot 2 on Ubuntu ====== 
- 
-Reference: http://wiki2.dovecot.org/AuthDatabase/LDAP 
- 
-<code> 
-aptitude install dovecot-imapd dovecot-pop3d dovecot-ldap 
-</code> 
- 
-**/etc/dovecot/conf.d/10-auth.conf**: 
-<code> 
-... 
-!include auth-ldap.conf.ext 
-.. 
-</code> 
- 
-**/etc/dovecot/conf.d/10-mail.conf**: 
- 
-<code> 
-... 
-mail_uid = 200 
-mail_gid = 200 
-... 
-first_valid_uid = 200 
-... 
-</code> 
- 
-</code> 
- 
-**/etc/dovecot/dovecot-ldap.conf.ext**: 
- 
-<code> 
-hosts = localhost 
- 
-auth_bind = yes 
- 
-base = ou=qmail, o=mrzesty 
- 
-user_attrs = =home=/var/qmail/maildirs/%{ldap:mailMessageStore} 
- 
-user_filter = (&(objectClass=qmailUser)(uid=%u)) 
- 
-pass_attrs = =home=/var/qmail/maildirs/%{ldap:mailMessageStore} 
- 
-pass_filter = (&(objectClass=qmailUser)(uid=%u)) 
-</code> 
- 
-====== Fail2ban ====== 
-Activate fail2ban to block brute force attacks. 
- 
-<link idref="44"></link> 
- 
  
qmail-ldapwithdovecotondebian.txt ยท Last modified: 2020/02/13 22:55 (external edit)

free spam filter