This shows you the differences between two versions of the page.
qmail-ldapwithdovecotondebian [2016/04/17 19:36] ian [qmail-ldap With Dovecot on Ubuntu] |
qmail-ldapwithdovecotondebian [2020/02/13 22:55] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | |||
- | ====== qmail-ldap With Dovecot on Ubuntu ====== | ||
- | |||
- | Reference: http:// | ||
- | |||
- | < | ||
- | aptitude install dovecot-imapd dovecot-pop3d dovecot-ldap | ||
- | </ | ||
- | |||
- | **/ | ||
- | < | ||
- | ... | ||
- | !include auth-ldap.conf.ext | ||
- | .. | ||
- | </ | ||
- | |||
- | **/ | ||
- | |||
- | < | ||
- | ... | ||
- | mail_uid = 200 | ||
- | mail_gid = 200 | ||
- | ... | ||
- | first_valid_uid = 200 | ||
- | ... | ||
- | </ | ||
- | |||
- | </ | ||
- | |||
- | **/ | ||
- | |||
- | < | ||
- | hosts = localhost | ||
- | |||
- | auth_bind = yes | ||
- | |||
- | base = ou=qmail, o=mrzesty | ||
- | |||
- | user_attrs = =home=/ | ||
- | |||
- | user_filter = (& | ||
- | |||
- | pass_attrs = =home=/ | ||
- | |||
- | pass_filter = (& | ||
- | </ | ||
- | |||
- | ====== Fail2ban ====== | ||
- | Activate fail2ban to block brute force attacks. | ||
- | |||
- | <link idref=" | ||
- | |||