Advertisement
Guest User

main.cf

a guest
May 24th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.34 KB | None | 0 0
  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
  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. # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
  21. # fresh installs.
  22. compatibility_level = 2
  23.  
  24. # TLS parameters
  25. smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
  26. smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
  27. smtpd_use_tls=yes
  28. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  29. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  30.  
  31. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  32. # information on enabling SSL in the smtp client.
  33.  
  34. smtpd_relay_restrictions = permit_mynetworks defer_unauth_destination
  35. myhostname = svgwma-kopa-02.XXXXXX.XXXXX.com
  36. alias_maps = hash:/etc/aliases
  37. alias_database = hash:/etc/aliases
  38. mydestination = $myhostname, svgwma-kopa-02, localhost.localdomain, localhost
  39. relayhost =
  40. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  41. mailbox_size_limit = 0
  42. recipient_delimiter = +
  43. inet_interfaces = all
  44. inet_protocols = all
  45.  
  46. #Hinzugefuegt am 24.05.2018 durch WMA von alter Zarafa Konfiguration
  47.  
  48. smtpd_client_restrictions = permit_mynetworks
  49. smtpd_recipient_restrictions = permit_mynetworks reject_invalid_hostname reject_unauth_destination reject_unknown_recipient_domain
  50. delay_warning_time = 4h
  51. unknown_local_recipient_reject_code = 450
  52. maximal_queue_lifetime = 7d
  53. minimal_backoff_time = 1000s
  54. maximal_backoff_time = 8000s
  55. smtpd_recipient_limit = 16
  56. smtpd_soft_error_limit = 3
  57. smtpd_hard_error_limit = 12
  58.  
  59. # relayhosting from provider when running dynamic IP; now we need sasl_auth
  60. #relayhost = smtp.example.com
  61. smtp_sasl_auth_enable = yes
  62. smtp_sasl_password_maps = hash:/etc/kopano/postfix/sasl_passwd
  63. sender_dependent_relayhost_maps = hash:/etc/kopano/postfix/sender_relay
  64. smtp_sasl_security_options = noanonymous
  65. smtp_sender_dependent_authentication = yes
  66. smtp_tls_enforce_peername = no
  67. smtpd_tls_security_level = may
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement