2012-05-04 08:57:23 +00:00
|
|
|
# Postfix Configuration options
|
2012-04-24 15:51:47 +00:00
|
|
|
# Used by alternc.install with postconf
|
2006-04-26 12:28:53 +00:00
|
|
|
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
|
2012-05-04 08:57:23 +00:00
|
|
|
# TLS options
|
2006-04-26 12:28:53 +00:00
|
|
|
smtpd_use_tls = yes
|
2011-06-04 14:42:26 +00:00
|
|
|
smtpd_tls_dcert_file = /etc/alternc/apache.pem
|
2006-04-26 12:28:53 +00:00
|
|
|
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
|
2012-05-09 16:31:58 +00:00
|
|
|
smtpd_tls_auth_only = no
|
2012-05-04 08:57:23 +00:00
|
|
|
#SASL options
|
2006-04-26 12:28:53 +00:00
|
|
|
smtpd_sasl_auth_enable = yes
|
|
|
|
smtpd_sasl_local_domain = postfix
|
|
|
|
smtpd_sasl_security_options = noanonymous
|
|
|
|
enable_sasl_authentification = yes
|
|
|
|
broken_sasl_auth_clients = yes
|
2012-05-04 08:57:23 +00:00
|
|
|
smtpd_sasl_type=dovecot
|
|
|
|
smtpd_sasl_path=private/auth
|
|
|
|
smtpd_sasl_auth_enable=yes
|
|
|
|
#Virtual Maping
|
2011-06-04 14:16:26 +00:00
|
|
|
alias_maps = hash:/etc/aliases
|
|
|
|
alias_database = hash:/etc/aliases
|
|
|
|
virtual_alias_maps = proxy:mysql:/etc/postfix/myalias.cf
|
2012-04-24 15:51:47 +00:00
|
|
|
virtual_alias_domains =
|
2011-06-04 14:16:26 +00:00
|
|
|
virtual_mailbox_domains = proxy:mysql:/etc/postfix/mydomain.cf
|
2006-04-26 12:28:53 +00:00
|
|
|
virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
|
2012-04-24 15:51:47 +00:00
|
|
|
virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/myquota.cf
|
2011-06-04 14:16:26 +00:00
|
|
|
virtual_mailbox_base = /var/alternc/mail
|
|
|
|
virtual_minimum_uid = 2000
|
2006-04-26 12:28:53 +00:00
|
|
|
virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
|
2011-06-04 14:16:26 +00:00
|
|
|
virtual_uid_maps = proxy:mysql:/etc/postfix/mygid.cf
|
2012-10-12 15:56:20 +00:00
|
|
|
relay_recipient_maps = $virtual_alias_maps
|
|
|
|
relay_domains = proxy:mysql:/etc/postfix/myrelay-domain.cf
|
2012-10-08 13:49:15 +00:00
|
|
|
transport_maps = proxy:mysql:/etc/postfix/mytransport.cf
|
2012-04-24 15:51:47 +00:00
|
|
|
dovecot_destination_recipient_limit = 1
|
2012-10-08 13:49:15 +00:00
|
|
|
mailman_destination_recipient_limit = 1
|
2011-06-04 09:39:15 +00:00
|
|
|
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
|