47 lines
2.0 KiB
CFEngine3
47 lines
2.0 KiB
CFEngine3
# Postfix Configuration options
|
|
# Used by alternc.install with postconf
|
|
home_mailbox = Maildir/
|
|
smtpd_banner = $myhostname ESMTP
|
|
header_checks = regexp:/etc/postfix/header_checks
|
|
body_checks = regexp:/etc/postfix/body_checks
|
|
local_destination_concurrency_limit = 8
|
|
default_destination_concurrency_limit = 10
|
|
# TLS options
|
|
smtpd_use_tls = yes
|
|
smtpd_tls_dcert_file = /etc/alternc/apache.pem
|
|
smtpd_tls_dkey_file = $smtpd_tls_dcert_file
|
|
smtpd_tls_CApath = /etc/ssl/certs/
|
|
smtpd_tls_key_file = $smtpd_tls_dcert_file
|
|
smtpd_tls_cert_file = $smtpd_tls_dcert_file
|
|
smtpd_tls_loglevel = 0
|
|
smtpd_tls_received_header = yes
|
|
smtpd_tls_session_cache_timeout = 3600s
|
|
smtp_tls_dcert_file = $smtpd_tls_dcert_file
|
|
smtp_tls_dkey_file = $smtpd_tls_dcert_file
|
|
smtp_tls_CApath = $smtpd_tls_CApath
|
|
smtpd_tls_auth_only = no
|
|
#SASL options
|
|
smtpd_sasl_auth_enable = yes
|
|
smtpd_sasl_local_domain = postfix
|
|
smtpd_sasl_security_options = noanonymous
|
|
enable_sasl_authentification = yes
|
|
broken_sasl_auth_clients = yes
|
|
smtpd_sasl_type=dovecot
|
|
smtpd_sasl_path=private/auth
|
|
smtpd_sasl_auth_enable=yes
|
|
#Virtual Maping
|
|
alias_maps = hash:/etc/aliases
|
|
alias_database = hash:/etc/aliases
|
|
virtual_alias_maps = proxy:mysql:/etc/postfix/myalias.cf
|
|
virtual_alias_domains =
|
|
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mydomain.cf
|
|
virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
|
|
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/myquota.cf
|
|
virtual_mailbox_base = /var/alternc/mail
|
|
virtual_minimum_uid = 2000
|
|
virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
|
|
virtual_uid_maps = proxy:mysql:/etc/postfix/mygid.cf
|
|
virtual_transport = dovecot
|
|
dovecot_destination_recipient_limit = 1
|
|
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unlisted_recipient, reject_unauth_destination
|