2022-10-11 09:18:54 +02:00
|
|
|
---
|
|
|
|
dbmail_version: 3.3.0
|
|
|
|
dbmail_logfolder: /var/log/dbmail
|
|
|
|
dbmail_user: dbmail
|
|
|
|
dbmail_group: dbmail
|
|
|
|
dbmail_db_driver: mysql
|
|
|
|
dbmail_db_host: 127.0.0.1
|
|
|
|
dbmail_db_port: 3306
|
|
|
|
dbmail_db_name: dbmail
|
|
|
|
dbmail_db_user: dbmail
|
|
|
|
dbmail_db_password: "{{ vault_dbmail_password }}"
|
2023-02-07 11:25:54 +01:00
|
|
|
dbmail_db_admin_user: root
|
|
|
|
dbmail_db_admin_password: ''
|
2022-10-11 09:18:54 +02:00
|
|
|
mail_server_fqdn: mail.example.com
|
|
|
|
dbmail_domains:
|
|
|
|
- example.com
|
|
|
|
admin_email: "mailmaster@{{ dbmail_domains[0] }}"
|
|
|
|
configure_ufw: true
|
|
|
|
ufw_allow_ports:
|
|
|
|
- 995
|
|
|
|
- 993
|
|
|
|
dbmail_systemd_units:
|
|
|
|
- dbmail-imapd
|
|
|
|
- dbmail-lmtpd
|
|
|
|
- dbmail-pop3d
|
|
|
|
- dbmail-timsieved
|
|
|
|
|
|
|
|
# Check dbmail.conf for all options
|
|
|
|
dbmail_configuration:
|
|
|
|
DBMAIL:
|
|
|
|
logfile: "{{ dbmail_logfolder }}/dbmail.log"
|
|
|
|
authdriver: sql
|
|
|
|
effective_user: "{{ dbmail_user }}"
|
|
|
|
effective_group: "{{ dbmail_group }}"
|
|
|
|
table_prefix: dbmail_
|
|
|
|
encoding: utf8
|
|
|
|
default_msg_encoding: utf8
|
|
|
|
sendmail: /usr/sbin/sendmail
|
|
|
|
file_logging_levels: 7
|
|
|
|
syslog_logging_levels: 31
|
|
|
|
query_time_info: 10
|
|
|
|
query_time_notice: 20
|
|
|
|
query_time_warning: 30
|
|
|
|
query_timeout: 300
|
|
|
|
bindip: 0.0.0.0
|
|
|
|
timeout: 300
|
|
|
|
login_timeout: 60
|
|
|
|
resolve_ip: no
|
|
|
|
authlog: no
|
|
|
|
errorlog: "{{ dbmail_logfolder }}/dbmail.err"
|
|
|
|
pid_directory: /var/run/dbmail
|
|
|
|
postmaster: "{{ admin_email }}"
|
|
|
|
hash_algorithm: SHA512
|
|
|
|
# tls_cafile:
|
|
|
|
# tls_cert:
|
|
|
|
# tls_key:
|
|
|
|
# tls_ciphers:
|
|
|
|
LMTP:
|
|
|
|
port: 24
|
|
|
|
IMAP:
|
|
|
|
port: 143
|
|
|
|
tls_port: 993
|
|
|
|
timeout: 4000
|
|
|
|
imap_before_smtp: 'no'
|
|
|
|
POP:
|
|
|
|
port: 110
|
|
|
|
tls_port: 995
|
|
|
|
login_disabled: 'no'
|
|
|
|
pop_before_smtp: 'no'
|
|
|
|
HTTP:
|
|
|
|
port: 3112
|
|
|
|
bindip: 127.0.0.1
|
|
|
|
admin: "admin:{{ vault_dbmail_admin_password }}"
|
|
|
|
SIEVE:
|
|
|
|
port: 2000
|
|
|
|
#tls_port:
|
|
|
|
LDAP:
|
|
|
|
port: 389
|
|
|
|
version: 3
|
|
|
|
hostname: 127.0.0.1
|
|
|
|
base_dn: ou=People,dc=mydomain,dc=com
|
|
|
|
bind_dn: cn=dbmail_admin,dc=mydomain,dc=com
|
|
|
|
bind_pw: "{{ vault_dbmail_ldap_password }}"
|
|
|
|
cn_string: uid
|
|
|
|
field_passwd: userPassword
|
|
|
|
field_mail: mail
|
|
|
|
field_quota: mailQuota
|
|
|
|
field_fwdtarget: mailForwardingAddress
|
|
|
|
scope: SubTree
|
|
|
|
referrals: yes
|
|
|
|
user_objectclass: top,account,dbmailUser
|
|
|
|
forw_objectclass: top,account,dbmailForwardingAddress
|
|
|
|
field_uid: uid
|
|
|
|
field_nid: uidNumber
|
|
|
|
min_nid: 10000
|
|
|
|
max_nid: 15000
|
|
|
|
field_cid: gidNumber
|
|
|
|
min_cid: 10000
|
|
|
|
max_cid: 15000
|
|
|
|
DELIVERY:
|
|
|
|
SIEVE: 'yes'
|
|
|
|
SUBADDRESS: 'yes'
|
|
|
|
SIEVE_VACATION: 'yes'
|
|
|
|
SIEVE_NOTIFY: 'yes'
|
|
|
|
SIEVE_DEBUG: 'no'
|
|
|
|
AUTO_NOTIFY: 'no'
|
|
|
|
AUTO_REPLY: 'no'
|
|
|
|
suppress_duplicates: 'no'
|
2023-02-07 11:25:54 +01:00
|
|
|
quota_failure: hard
|