daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Jul 11th, 2018 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2. smtpd_banner = $myhostname ESMTP
  3. biff = no
  4. # appending .domain is the MUA's job.
  5. append_dot_mydomain = no
  6. readme_directory = no
  7. # See http://www.postfix.org/COMPATIBILITY_README.html -- default to 2 on
  8. # fresh installs.
  9. compatibility_level = 2
  10. # TLS parameters
  11. smtpd_tls_cert_file=/mnt/pool0/misc/cert/fullchain.pem
  12. smtpd_tls_key_file=/mnt/pool0/misc/cert/privkey.pem
  13. smtpd_use_tls=yes
  14. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  15. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  16. # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
  17. # information on enabling SSL in the smtp client.
  18. smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination
  19. myhostname = mx.trevorzenk.com
  20. mydomain = trevorzenk.com
  21. alias_maps = hash:/etc/aliases
  22. alias_database = hash:/etc/aliases
  23. #myorigin = /etc/mailname
  24. myorigin = $mydomain
  25. mydestination = trevorzenk.com, mx.trevorzenk.com, mail.trevorzenk.com, localhost.$mydomain, localhost
  26. relayhost =
  27. mynetworks = 127.0.0.0/8, 192.168.1.0/24
  28. mailbox_size_limit = 0
  29. recipient_delimiter = +
  30. inet_interfaces = all
  31. #inet_protocols = all
  32. inet_protocols = ipv4
  33. home_mailbox = Maildir/
  34. # SMTP-Auth settings
  35. smtpd_sasl_type = dovecot
  36. smtpd_sasl_path = private/auth
  37. smtpd_sasl_auth_enable = yes
  38. smtpd_sasl_security_options = noanonymous
  39. smtpd_sasl_local_domain = $myhostname
  40. smtpd_recipient_restrictions = permit_mynetworks,permit_auth_destination,permit_sasl_authenticated,reject
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top