[Dovecot] Unsupported examples for IMAP auth via LDAP
[Rspamd] Globel whitelist/blacklist from via multimapmaster
parent
05e14401ad
commit
f76c3ee7f3
|
@ -1,6 +1,12 @@
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
# Please create a file "extra.conf" for persistent overrides to dovecot.conf
|
# Please create a file "extra.conf" for persistent overrides to dovecot.conf
|
||||||
# --------------------------------------------------------------------------
|
# --------------------------------------------------------------------------
|
||||||
|
# LDAP example:
|
||||||
|
#passdb {
|
||||||
|
# args = /usr/local/etc/dovecot/ldap/passdb.conf
|
||||||
|
# driver = ldap
|
||||||
|
#}
|
||||||
|
|
||||||
auth_mechanisms = plain login
|
auth_mechanisms = plain login
|
||||||
#mail_debug = yes
|
#mail_debug = yes
|
||||||
#auth_debug = yes
|
#auth_debug = yes
|
||||||
|
@ -48,6 +54,9 @@ passdb {
|
||||||
passdb {
|
passdb {
|
||||||
args = /usr/local/etc/dovecot/sql/dovecot-dict-sql-passdb.conf
|
args = /usr/local/etc/dovecot/sql/dovecot-dict-sql-passdb.conf
|
||||||
driver = sql
|
driver = sql
|
||||||
|
result_success = return-ok
|
||||||
|
result_failure = continue
|
||||||
|
result_internalfail = continue
|
||||||
}
|
}
|
||||||
# Set doveadm_password=your-secret-password in data/conf/dovecot/extra.conf (create if missing)
|
# Set doveadm_password=your-secret-password in data/conf/dovecot/extra.conf (create if missing)
|
||||||
service doveadm {
|
service doveadm {
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
#hosts = 1.2.3.4
|
||||||
|
#dn = cn=admin,dc=example,dc=local
|
||||||
|
#dnpass = password
|
||||||
|
#ldap_version = 3
|
||||||
|
#base = ou=People,dc=example,dc=local
|
||||||
|
#auth_bind = no
|
||||||
|
#pass_filter = (&(objectClass=posixAccount)(mail=%u))
|
||||||
|
#pass_attrs = mail=user,userPassword=password
|
||||||
|
#default_pass_scheme = SSHA
|
|
@ -0,0 +1 @@
|
||||||
|
# /.*@example.com/i'
|
|
@ -0,0 +1 @@
|
||||||
|
# /.*@example.com/i'
|
|
@ -33,3 +33,19 @@ LOCAL_BL_ASN {
|
||||||
description = "Sender's ASN is on the local blacklist";
|
description = "Sender's ASN is on the local blacklist";
|
||||||
symbols_set = ["LOCAL_BL_ASN"];
|
symbols_set = ["LOCAL_BL_ASN"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLOBAL_FROM_WL {
|
||||||
|
type = "from";
|
||||||
|
map = "$LOCAL_CONFDIR/custom/global_from_whitelist.map";
|
||||||
|
regexp = true;
|
||||||
|
prefilter = true;
|
||||||
|
action = "accept";
|
||||||
|
}
|
||||||
|
|
||||||
|
GLOBAL_FROM_BL {
|
||||||
|
type = "from";
|
||||||
|
map = "$LOCAL_CONFDIR/custom/global_from_blacklist.map";
|
||||||
|
regexp = true;
|
||||||
|
prefilter = true;
|
||||||
|
action = "reject";
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue