Advertisement
Guest User

Untitled

a guest
Aug 10th, 2017
471
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.31 KB | None | 0 0
  1. MTA server, postfix + Dovecot
  2.  
  3. alias_database = hash:/etc/aliases
  4. alias_maps = hash:/etc/aliases
  5. anvil_rate_time_unit = 2s
  6. append_dot_mydomain = no
  7. biff = no
  8. config_directory = /etc/postfix
  9. default_destination_concurrency_limit = 200
  10. default_destination_recipient_limit = 1
  11. default_process_limit = 1500
  12. disable_dns_lookups = yes
  13. header_checks = pcre:/etc/postfix/header_checks
  14. inet_interfaces = all
  15. lmtp_connect_timeout = 5s
  16. lmtp_connection_cache_time_limit = 8s
  17. lmtp_connection_reuse_time_limit = 4s
  18. mailbox_command = procmail -a "$EXTENSION"
  19. mailbox_size_limit = 0
  20. maximal_backoff_time = 60s
  21. message_size_limit = 45000000
  22. minimal_backoff_time = 25s
  23. mydestination = $myhostname, localhost
  24. mydomain = DOMAIN.com.br
  25. mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 10.50.0.0/23
  26. myorigin = /etc/mailname
  27. qmqpd_authorized_clients = 10.1.0.0/20
  28. queue_run_delay = 25s
  29. readme_directory = no
  30. recipient_bcc_maps = proxy:mysql:/etc/postfix/maps/forward.cf
  31. recipient_delimiter = +
  32. relayhost = *.*.*.*
  33. smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
  34. smtpd_client_connection_count_limit = 8
  35. smtpd_client_connection_rate_limit = 15
  36. smtpd_client_message_rate_limit = 16
  37. smtpd_client_recipient_rate_limit = 100
  38. smtpd_delay_open_until_valid_rcpt = yes
  39. smtpd_recipient_limit = 70
  40. virtual_alias_maps = cdb:/etc/postfix/maps/locamail-expand-groups, tcp:127.0.0.1:25002
  41. virtual_mailbox_domains = proxy:mysql:/etc/postfix/maps/domains.cf
  42. virtual_mailbox_maps = proxy:mysql:/etc/postfix/maps/accounts.cf
  43. virtual_transport = lmtp:unix:/tmp/dspam.sock
  44.  
  45.  
  46. Dovecot
  47.  
  48. # 2.0.11 (8c409049402c): /etc/dovecot/dovecot.conf
  49. # OS: Linux 2.6.32-5-vserver-amd64 x86_64 Debian 6.0
  50. auth_cache_negative_ttl = 10 mins
  51. auth_cache_size = 10 M
  52. default_client_limit = 2048
  53. default_process_limit = 500
  54. dict {
  55. quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
  56. }
  57. first_valid_uid = 50
  58. lda_mailbox_autocreate = yes
  59. lda_mailbox_autosubscribe = yes
  60. login_greeting = Welcome to DOMAIN
  61. mail_access_groups = _sysadms
  62. mail_debug = yes
  63. mail_fsync = always
  64. mail_location = maildir:%h:INDEX=%h/cache
  65. mail_nfs_index = yes
  66. mail_nfs_storage = yes
  67. mail_plugins = " quota"
  68. managesieve_notify_capability = mailto
  69. managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
  70. mmap_disable = yes
  71. passdb {
  72. args = /etc/dovecot/conf.d/DOMAIN/passdb-master.conf
  73. driver = sql
  74. }
  75. plugin {
  76. quota = dict:User quota::proxy::quota
  77. quota_rule = *:storage=2G
  78. quota_rule2 = INBOX:messages=+50000
  79. sieve = ~/.dovecot.sieve
  80. sieve_before = /etc/dovecot/sieve/
  81. sieve_dir = ~/sieve
  82. }
  83. postmaster_address = scrum-email@DOMAIN.com.br
  84. protocols = " lmtp sieve"
  85. service auth-worker {
  86. process_limit = 1024
  87. process_min_avail = 100
  88. }
  89. service dict {
  90. unix_listener dict {
  91. group = _sysadms
  92. mode = 0660
  93. }
  94. }
  95. service lmtp {
  96. inet_listener lmtp {
  97. port = 24
  98. }
  99. process_min_avail = 100
  100. }
  101. ssl_cert = </etc/ssl/certs/dovecot.pem
  102. ssl_key = </etc/ssl/private/dovecot.pem
  103. userdb {
  104. args = /etc/dovecot/conf.d/DOMAIN/userdb.conf
  105. driver = sql
  106. }
  107. verbose_proctitle = yes
  108. protocol lmtp {
  109. mail_plugins = " quota sieve"
  110. }
  111. protocol imap {
  112. mail_plugins = " quota imap_quota"
  113. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement