Advertisement
Guest User

main.cf

a guest
Jul 4th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.31 KB | None | 0 0
  1. alias_database = hash:/etc/aliases
  2. alias_maps = hash:/etc/aliases
  3. command_directory = /usr/sbin
  4. config_directory = /etc/postfix
  5. content_filter = amavisfeed:[127.0.0.1]:10024
  6. daemon_directory = /usr/libexec/postfix
  7. data_directory = /var/lib/postfix
  8. debug_peer_level = 2
  9. home_mailbox = Maildir/
  10. html_directory = no
  11. inet_interfaces = all
  12. inet_protocols = all
  13. mail_owner = postfix
  14. mailq_path = /usr/bin/mailq.postfix
  15. manpage_directory = /usr/share/man
  16. mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
  17. mydomain = MYDOMAINNAME
  18. myhostname = MYHOSTNAME.MYDOMAINNAME
  19. mynetworks = 192.168.10.0/24, 127.0.0.0/8
  20. myorigin = $mydomain
  21. newaliases_path = /usr/bin/newaliases.postfix
  22. queue_directory = /var/spool/postfix
  23. readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
  24. sample_directory = /usr/share/doc/postfix-2.6.6/samples
  25. sendmail_path = /usr/sbin/sendmail.postfix
  26. setgid_group = postdrop
  27. smtp_sasl_mechanism_filter = plain, login
  28. smtp_tls_mandatory_protocols = !SSLv2,!SSLv3
  29. smtpd_delay_reject = yes
  30. smtpd_helo_restrictions = permit_mynetworks, reject_invalid_helo_hostname, reject_unknown_helo_hostname
  31. smtpd_recipient_restrictions = permit_mynetworks, check_recipient_access hash:/etc/postfix/recipient_access, permit_sasl_authenticated, reject_unauth_pipelining, reject_unauth_destination, reject_sender_login_mismatch, reject_unknown_recipient_domain, reject
  32. smtpd_sasl_auth_enable = yes
  33. smtpd_sasl_local_domain = $mydomain
  34. smtpd_sasl_path = private/auth
  35. smtpd_sasl_security_options = noanonymous
  36. smtpd_sasl_tls_security_options = $smtpd_sasl_security_options
  37. smtpd_sasl_type = dovecot
  38. smtpd_sender_login_maps = hash:/etc/postfix/controlled_envelope_senders
  39. smtpd_sender_restrictions = permit_mynetworks, check_sender_access hash:/etc/postfix/sender_access, reject_unknown_sender_domain, permit
  40. smtpd_tls_CAfile = /etc/pki/CA/cacert.pem
  41. smtpd_tls_auth_only = yes
  42. smtpd_tls_cert_file = /etc/pki/tls/certs/necc-data-cert.pem
  43. smtpd_tls_key_file = /etc/pki/tls/private/necc-data-key.pem
  44. smtpd_tls_loglevel = 1
  45. smtpd_tls_mandatory_protocols = !SSLv2,!SSLv3
  46. smtpd_tls_security_level = encrypt
  47. smtpd_tls_session_cache_database = btree:/var/lib/postfix/smtpd_tls_cache
  48. tls_random_exchange_name = /var/lib/postfix/prng_exch
  49. tls_random_source = dev:/dev/urandom
  50. unknown_local_recipient_reject_code = 55
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement