You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
1.0 KiB
CFEngine3
39 lines
1.0 KiB
CFEngine3
9 years ago
|
###############
|
||
|
# General
|
||
|
###############
|
||
9 years ago
|
|
||
9 years ago
|
# The list of relayed networks is still loaded from a configuration file
|
||
9 years ago
|
mynetworks = 127.0.0.1/32 [::1]/128
|
||
9 years ago
|
# Empty alias list to override the configuration variable and disable NIS
|
||
|
alias_maps = hash:/etc/aliases
|
||
|
# SQLite configuration
|
||
|
sql = sqlite:${config_directory}/
|
||
9 years ago
|
# Only accept virtual emails
|
||
|
mydestination =
|
||
9 years ago
|
|
||
9 years ago
|
###############
|
||
|
# TLS
|
||
|
###############
|
||
|
smtpd_use_tls = yes
|
||
9 years ago
|
smtpd_tls_cert_file=/certs/cert.pem
|
||
|
smtpd_tls_key_file=/certs/key.pem
|
||
9 years ago
|
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
|
||
|
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
|
||
9 years ago
|
|
||
9 years ago
|
###############
|
||
|
# SASL
|
||
|
###############
|
||
|
smtpd_sasl_local_domain = $myhostname
|
||
9 years ago
|
smtpd_sasl_type = dovecot
|
||
9 years ago
|
smtpd_sasl_path = inet:imap:2102
|
||
9 years ago
|
smtpd_sasl_auth_enable = yes
|
||
9 years ago
|
smtpd_sasl_security_options = noanonymous
|
||
|
|
||
|
###############
|
||
|
# Virtual
|
||
|
###############
|
||
|
virtual_mailbox_domains = ${sql}sqlite-virtual_mailbox_domains.cf
|
||
|
virtual_alias_maps = ${sql}sqlite-virtual_alias_maps.cf
|
||
9 years ago
|
virtual_transport = lmtp:inet:imap:2525
|
||
|
lmtp_host_lookup = native
|