Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- postconf -n:
- alias_database =
- alias_maps =
- append_dot_mydomain = no
- biff = no
- broken_sasl_auth_clients = yes
- config_directory = /etc/postfix
- debug_peer_list = <my ip>
- inet_interfaces = all
- inet_protocols = all
- mailbox_size_limit = 0
- mydestination =
- myhostname = mta.example.com
- mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
- myorigin = /etc/mailname
- readme_directory = no
- recipient_delimiter = +
- relay_domains = ldap:/etc/postfix/ldap-domains.cf
- relay_recipient_maps = ldap:/etc/postfix/ldap-aliases.cf
- relay_transport = smtp:mua.example.com:25
- relayhost =
- smtp_tls_note_starttls_offer = yes
- smtp_tls_security_level = may
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
- smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain =
- smtpd_sasl_security_options = noanonymous
- smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
- smtpd_tls_auth_only = no
- smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
- smtpd_tls_key_file = /etc/ssl/private/smtpd.key
- smtpd_tls_loglevel = 1
- smtpd_tls_received_header = yes
- smtpd_tls_security_level = may
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtpd_tls_session_cache_timeout = 3600s
- smtpd_use_tls = yes
- ldap-domain.cf:
- bind = no
- version = 3
- timeout = 20
- server_host = localhost
- search_base = dc=example,dc=com
- scope = sub
- query_filter = (registeredAddress=%d)
- result_attribute = registeredAddress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement