Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 2.30 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 $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/caprica.ketralnis.com.cert
  22. smtpd_tls_key_file = /etc/ssl/private/caprica.ketralnis.com.key.insecure
  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 = caprica.ketralnis.com
  31. alias_maps = hash:/etc/aliases
  32. alias_database = hash:/etc/aliases
  33. myorigin = /etc/mailname
  34. mydestination = caprica.ketralnis.com, ketralnis.com, tia-marie.com, sfesperanto.com, forrectaluse.com, porkemergency.com, localhost, localhost.localdomain
  35. #relayhost = melchoir.ketralnis.com
  36. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
  37. #mailbox_command = /usr/lib/dovecot/deliver -c /etc/dovecot/dovecot.conf -n -m "${EXTENSION}"
  38. #mailbox_command = /usr/bin/procmail
  39. #mailbox_size_limit = 0
  40. recipient_delimiter = +
  41. inet_interfaces = all
  42. smtpd_sasl_auth_enable = yes
  43. smtpd_sasl_type = dovecot
  44. smtpd_sasl_path = private/dovecot-auth
  45. smtpd_sasl_authenticated_header = yes
  46. smtpd_sasl_security_options = noanonymous
  47. smtpd_sasl_local_domain = $myhostname
  48. broken_sasl_auth_clients = yes
  49. smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
  50. smtpd_sender_restrictions = reject_unknown_sender_domain
  51. smtp_use_tls = yes
  52. smtpd_tls_received_header = yes
  53. smtpd_tls_mandatory_protocols = SSLv3, TLSv1
  54. smtpd_tls_mandatory_ciphers = medium
  55. smtpd_tls_auth_only = yes
  56. tls_random_source = dev:/dev/urandom
  57.  
  58. content_filter = smtp-amavis:[127.0.0.1]:10024
  59. header_checks = pcre:/etc/postfix/header_checks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement