aquaballoon

Postfix: /etc/postfix/main.cf

Apr 15th, 2012
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.90 KB | None | 0 0
  1. # /etc/postfix/main.cf
  2. # icmail.hureeict.edu.mn
  3.  
  4. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  5.  
  6.  
  7. # Debian specific:  Specifying a file name will cause the first
  8. # line of that file to be used as the name.  The Debian default
  9. # is /etc/mailname.
  10. #myorigin = icmail.hureeict.edu.mn
  11.  
  12. smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
  13. biff = no
  14.  
  15. # appending .domain is the MUA's job.
  16. append_dot_mydomain = no
  17.  
  18. # Uncomment the next line to generate "delayed mail" warnings
  19. #delay_warning_time = 4h
  20.  
  21. readme_directory = no
  22.  
  23. # TLS parameters
  24. smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
  25. smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
  26. smtpd_use_tls = yes
  27. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  28. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  29.  
  30. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  31. # information on enabling SSL in the smtp client.
  32.  
  33. myhostname = icmail.hureeict.edu.mn
  34. alias_maps = hash:/etc/aliases
  35. alias_database = hash:/etc/aliases
  36. myorigin = icmail.hureeict.edu.mn
  37. mydestination = icmail.hureeict.edu.mn, localhost
  38. mynetworks = 127.0.0.0/8 124.158.108.0/24 [::1]/128 [fe80::%eth1]/64
  39. mailbox_size_limit = 0
  40. recipient_delimiter = +
  41. inet_protocols = all
  42. home_mailbox =
  43. smtpd_sasl_auth_enable = no
  44. smtpd_sasl_type = cyrus
  45. smtpd_sasl_path = smtpd
  46. smtpd_sasl_authenticated_header = no
  47. smtpd_sasl_security_options = noanonymous
  48. smtpd_sasl_local_domain =
  49. broken_sasl_auth_clients = no
  50. smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
  51. smtpd_sender_restrictions =
  52. mailbox_command =
  53. smtp_use_tls = no
  54. smtpd_tls_received_header = no
  55. smtpd_tls_mandatory_protocols = SSLv3, TLSv1
  56. smtpd_tls_mandatory_ciphers = medium
  57. smtpd_tls_auth_only = no
  58. tls_random_source = dev:/dev/urandom
  59. relayhost =
  60. inet_interfaces = all
Advertisement
Add Comment
Please, Sign In to add comment