Advertisement
Guest User

Untitled

a guest
Oct 1st, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.20 KB | None | 0 0
  1. # See /usr/share/postfix/main.cf.dist for a commented, more complete version
  2.  
  3. smtpd_banner = $myhostname ESMTP
  4. biff = no
  5.  
  6. # appending .domain is the MUA's job.
  7. append_dot_mydomain = no
  8.  
  9. # Uncomment the next line to generate "delayed mail" warnings
  10. #delay_warning_time = 4h
  11.  
  12. alias_maps = mysql:/etc/postfix/myalias.cf hash:/etc/aliases
  13. alias_database = hash:/etc/aliases
  14. mydestination = alternc.local, $myhostname, localhost.$mydomain, localhost
  15. relayhost =
  16. inet_interfaces = all
  17. recipient_delimiter = +
  18.  
  19. #
  20. mynetworks = 127.0.0.1 hash:/var/lib/pop-before-smtp/hosts 192.168.0.12
  21. #
  22.  
  23. home_mailbox = Maildir/
  24. header_checks = regexp:/etc/postfix/header_checks
  25. body_checks = regexp:/etc/postfix/body_checks
  26. local_destination_concurrency_limit = 8
  27. default_destination_concurrency_limit = 10
  28. smtpd_use_tls = yes
  29. smtpd_tls_dcert_file = /etc/courier/pop3d.pem
  30. smtpd_tls_dkey_file = $smtpd_tls_dcert_file
  31. smtpd_tls_CApath = /etc/ssl/certs/
  32. smtpd_tls_key_file = $smtpd_tls_dcert_file
  33. smtpd_tls_cert_file = $smtpd_tls_dcert_file
  34. smtpd_tls_loglevel = 0
  35. smtpd_tls_received_header = yes
  36. smtpd_tls_session_cache_timeout = 3600s
  37. smtp_use_tls = yes
  38. smtp_tls_dcert_file = $smtpd_tls_dcert_file
  39. smtp_tls_dkey_file = $smtpd_tls_dcert_file
  40. smtp_tls_CApath = $smtpd_tls_CApath
  41. smtpd_tls_auth_only = yes
  42. smtpd_sasl_auth_enable = yes
  43. smtpd_sasl_local_domain = postfix
  44. smtpd_sasl_security_options = noanonymous
  45. enable_sasl_authentification = yes
  46. broken_sasl_auth_clients = yes
  47. virtual_maps = proxy:mysql:/etc/postfix/mydomain.cf
  48. virtual_mailbox_maps = proxy:mysql:/etc/postfix/myvirtual.cf
  49. virtual_mailbox_base = /
  50. virtual_minimum_uid = 1000
  51. virtual_gid_maps = proxy:mysql:/etc/postfix/mygid.cf
  52. virtual_uid_maps = static:33
  53. default_privs = www-data
  54. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_invalid_hostname, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_rbl_client zen.spamhaus.org, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_unauth_pipelining, reject_unlisted_recipient, reject_unauth_destination
  55. myorigin = /etc/mailname
  56. mailbox_command = procmail -a "$EXTENSION"
  57. mailbox_size_limit = 0
  58. inet_protocols = ipv4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement