Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. alias_database = hash:/etc/aliases
  2. alias_maps = hash:/etc/aliases
  3. broken_sasl_auth_clients = yes
  4. command_directory = /usr/sbin
  5. config_directory = /etc/postfix
  6. daemon_directory = /usr/libexec/postfix
  7. data_directory = /var/lib/postfix
  8. debug_peer_level = 2
  9. debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5
  10. home_mailbox = Maildir/
  11. html_directory = no
  12. inet_interfaces = all
  13. inet_protocols = all
  14. mail_owner = postfix
  15. mailbox_size_limit = 0
  16. mailq_path = /usr/bin/mailq.postfix
  17. manpage_directory = /usr/share/man
  18. mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
  19. mynetworks = 168.100.189.0/28, 127.0.0.0/8
  20. newaliases_path = /usr/bin/newaliases.postfix
  21. queue_directory = /var/spool/postfix
  22. readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
  23. recipient_delimiter = +
  24. sample_directory = /usr/share/doc/postfix-2.10.1/samples
  25. sendmail_path = /usr/sbin/sendmail.postfix
  26. setgid_group = postdrop
  27. smtp_tls_note_starttls_offer = yes
  28. smtp_tls_security_level = may
  29. smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination,check_policy_service unix:private/policy
  30. smtpd_sasl_auth_enable = yes
  31. smtpd_sasl_local_domain =
  32. smtpd_sasl_path = private/auth
  33. smtpd_sasl_security_options = noanonymous
  34. smtpd_sasl_type = dovecot
  35. smtpd_tls_cert_file = /etc/postfix/ssl/server.crt
  36. smtpd_tls_key_file = /etc/postfix/ssl/server.key
  37. smtpd_tls_loglevel = 1
  38. smtpd_tls_received_header = yes
  39. smtpd_tls_security_level = may
  40. smtpd_tls_session_cache_timeout = 3600s
  41. tls_random_source = dev:/dev/urandom
  42. unknown_local_recipient_reject_code = 550
  43. virtual_gid_maps = static:5000
  44. virtual_mailbox_base = /home/vmail
  45. virtual_mailbox_domains = /etc/postfix/vhosts
  46. virtual_mailbox_maps = hash:/etc/postfix/vmaps
  47. virtual_minimum_uid = 1000
  48. virtual_uid_maps = static:5000
  49.  
  50. #########################
  51. # Default Config
  52. #########################
  53.  
  54. auth_mechanisms = plain login
  55. protocols = imap pop3
  56. info_log_path = /var/log/dovecot.info
  57. log_path = /var/log/dovecot
  58. log_timestamp = "%Y-%m-%d %H:%M:%S "
  59. mail_location = maildir:/home/vmail/%d/%n
  60. mbox_write_locks = fcntl
  61.  
  62.  
  63. #########################
  64. # Security SSL
  65. #########################
  66. ssl = required
  67. ssl_cert = </etc/pki/dovecot/certs/dovecot.pem
  68. ssl_key = </etc/pki/dovecot/private/dovecot.pem
  69.  
  70.  
  71. #########################
  72. # Mailbox Config
  73. #########################
  74.  
  75. namespace inbox {
  76.  
  77. inbox = yes
  78. location =
  79. mailbox Drafts {
  80. special_use = Drafts
  81. }
  82. mailbox Junk {
  83. special_use = Junk
  84. }
  85. mailbox Sent {
  86. special_use = Sent
  87. }
  88. mailbox "Sent Messages" {
  89. special_use = Sent
  90. }
  91. mailbox Trash {
  92. special_use = Trash
  93. }
  94. prefix =
  95. }
  96.  
  97.  
  98. #########################
  99. # Auth Config
  100. #########################
  101.  
  102. passdb {
  103. args = /etc/dovecot/passwd
  104. driver = passwd-file
  105. }
  106.  
  107. userdb {
  108. args = /etc/dovecot/users
  109. driver = passwd-file
  110. }
  111.  
  112. service auth {
  113.  
  114. unix_listener /var/spool/postfix/private/auth {
  115. group = postfix
  116. mode = 0666
  117. user = postfix
  118. }
  119.  
  120. user = root
  121. }
  122.  
  123. service auth-worker {
  124. user = root
  125. }
  126.  
  127. #########################
  128. # POP3 Config
  129. #########################
  130.  
  131. protocol pop3 {
  132. pop3_uidl_format = %08Xu%08Xv
  133. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement