Loading...

Viewing Fixee

Language: Bash (View Plain Text)

November 25, 2010 9:47 am

  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3.  
  4. # Debian specific: Specifying a file name will cause the first
  5. # line of that file to be used as the name. The Debian default
  6. # is /etc/mailname.
  7. #myorigin = /etc/mailname
  8.  
  9. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  10. biff = no
  11.  
  12. # appending .domain is the MUA's job.
  13. append_dot_mydomain = no
  14.  
  15. # Uncomment the next line to generate "delayed mail" warnings
  16. #delay_warning_time = 4h
  17.  
  18. readme_directory = no
  19.  
  20. # TLS parameters
  21. smtpd_tls_cert_file = /etc/ssl/certs/iRedMail_CA.pem
  22. smtpd_tls_key_file = /etc/ssl/private/iRedMail.key
  23. smtpd_use_tls=yes
  24. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  25. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  26.  
  27. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  28. # information on enabling SSL in the smtp client.
  29.  
  30. myhostname = mx.axl.bz
  31. alias_maps = hash:/etc/postfix/aliases
  32. alias_database = hash:/etc/postfix/aliases
  33. myorigin = mx.axl.bz
  34. mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
  35. relayhost =
  36. #mynetworks = 127.0.0.0/8, 209.85.216.47, 217.146.182.34, 209.85.160.47, 209.85.216.182, 209.85.216.175, 209.85.160.47
  37. mynetworks = 127.0.0.0/8
  38. mailbox_size_limit = 15728640
  39. recipient_delimiter = +
  40. inet_interfaces = all
  41. mydomain = axl.bz
  42. mail_name = iRedMail
  43. mail_version = 0.6.1
  44. relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap_relay_domains.cf
  45. inet_protocols = ipv4
  46. mynetworks_style = subnet
  47. smtpd_data_restrictions = reject_unauth_pipelining
  48. smtpd_reject_unlisted_recipient = yes
  49. smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
  50. delay_warning_time = 0h
  51. policy_time_limit = 3600
  52. maximal_queue_lifetime = 1d
  53. bounce_queue_lifetime = 1d
  54. proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps
  55. smtpd_helo_required = yes
  56. smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
  57. queue_run_delay = 300s
  58. minimal_backoff_time = 300s
  59. maximal_backoff_time = 4000s
  60. enable_original_recipient = no
  61. disable_vrfy_command = yes
  62. home_mailbox = Maildir/
  63. allow_min_user = no
  64. virtual_minimum_uid = 1001
  65. virtual_uid_maps = static:1001
  66. virtual_gid_maps = static:1001
  67. virtual_mailbox_base = /var/vmail
  68. transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf
  69. virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf
  70. virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_domains.cf
  71. virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf
  72. sender_bcc_maps = proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_user.cf
  73. recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap_recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap_recipient_bcc_maps_user.cf
  74. smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf
  75. smtpd_reject_unlisted_sender = no
  76. smtpd_sasl_auth_enable = yes
  77. smtpd_sasl_local_domain =
  78. smtpd_sasl_security_options = noanonymous
  79. broken_sasl_auth_clients = yes
  80. smtpd_sasl_authenticated_header = no
  81. #smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:127.0.0.1:10031
  82. smtpd_recipient_restrictions = check_relay_domains
  83. smtpd_tls_security_level = may
  84. smtpd_enforce_tls = no
  85. smtpd_tls_loglevel = 0
  86. tls_random_source = dev:/dev/urandom
  87. tls_daemon_random_source = dev:/dev/urandom
  88. #
  89. # Uncomment the following line to enable policyd sender throttle.
  90. #
  91. #smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10032
  92. mailbox_command = /usr/lib/dovecot/deliver
  93. virtual_transport = dovecot
  94. dovecot_destination_recipient_limit = 1
  95. smtpd_sasl_type = dovecot
  96. smtpd_sasl_path = dovecot-auth
  97. content_filter = smtp-amavis:[127.0.0.1]:10024
  98.  
OriginalFixee
No Fixees have been posted!
As soon as a Fixee is posted, it will appear here automatically.
No need to refresh.