Advertisement
Guest User

Untitled

a guest
Feb 24th, 2012
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.56 KB | None | 0 0
  1. postconf -n:
  2. alias_database =
  3. alias_maps =
  4. append_dot_mydomain = no
  5. biff = no
  6. broken_sasl_auth_clients = yes
  7. config_directory = /etc/postfix
  8. debug_peer_list = <my ip>
  9. inet_interfaces = all
  10. inet_protocols = all
  11. mailbox_size_limit = 0
  12. mydestination =
  13. myhostname = mta.example.com
  14. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  15. myorigin = /etc/mailname
  16. readme_directory = no
  17. recipient_delimiter = +
  18. relay_domains = ldap:/etc/postfix/ldap-domains.cf
  19. relay_recipient_maps = ldap:/etc/postfix/ldap-aliases.cf
  20. relay_transport = smtp:mua.example.com:25
  21. relayhost =
  22. smtp_tls_note_starttls_offer = yes
  23. smtp_tls_security_level = may
  24. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  25. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  26. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
  27. smtpd_sasl_auth_enable = yes
  28. smtpd_sasl_local_domain =
  29. smtpd_sasl_security_options = noanonymous
  30. smtpd_tls_CAfile = /etc/ssl/certs/cacert.pem
  31. smtpd_tls_auth_only = no
  32. smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
  33. smtpd_tls_key_file = /etc/ssl/private/smtpd.key
  34. smtpd_tls_loglevel = 1
  35. smtpd_tls_received_header = yes
  36. smtpd_tls_security_level = may
  37. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  38. smtpd_tls_session_cache_timeout = 3600s
  39. smtpd_use_tls = yes
  40.  
  41. ldap-domain.cf:
  42. bind = no
  43. version = 3
  44. timeout = 20
  45.  
  46. server_host = localhost
  47. search_base = dc=example,dc=com
  48. scope = sub
  49.  
  50. query_filter = (registeredAddress=%d)
  51. result_attribute = registeredAddress
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement