Advertisement
Guest User

exim.conf

a guest
Aug 25th, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1.  
  2. primary_hostname = pink.example.org
  3. hide mysql_servers = localhost/exim/exim/exim
  4. domainlist local_domains = ${lookup mysql{SELECT `domain` FROM `domains` WHERE `domain`='${domain}'}}
  5. domainlist relay_to_domains =
  6. hostlist relay_from_hosts =
  7. acl_smtp_rcpt = acl_check_rcpt
  8.  
  9. allow_domain_literals = false
  10. exim_user = Debian-exim
  11. exim_group = Debian-exim
  12. never_users = root
  13. rfc1413_query_timeout = 0s
  14. auto_thaw = 1h
  15. smtp_banner = "$primary_hostname"
  16. smtp_accept_max = 50
  17. split_spool_directory = true
  18. helo_allow_chars = _
  19. smtp_enforce_sync = true
  20. syslog_timestamp = no
  21. begin acl
  22. acl_check_rcpt:
  23. accept domains = +local_domains
  24.  
  25. begin routers
  26.  
  27. atlas_aliases:
  28. driver = redirect
  29. data = ${lookup mysql{SELECT recipients as sendto from `atlas_aliases` WHERE `name`='${local_part}'}}
  30. allow_fail
  31.  
  32. forbid_pipe
  33. forbid_file
  34.  
  35. sys_aliases:
  36.  
  37. driver = accept
  38. domain='${quote_mysql.example.org}'}}
  39. domain='pink.example.org'}}{no}{yes}}}
  40. transport = local_delivery
  41. domains=pink.example.org
  42. local_parts=root
  43.  
  44.  
  45. dovecot_user:
  46. driver = accept
  47. transport = dovecot_delivery
  48.  
  49.  
  50. begin transports
  51.  
  52. local_delivery:
  53. driver = appendfile
  54. directory = /var/mail/$local_part
  55. directory_mode = 770
  56. envelope_to_add
  57. group = mail
  58. return_path_add
  59.  
  60. dovecot_delivery:
  61. driver = smtp
  62. protocol = lmtp
  63. port = 24
  64. hosts = 127.0.0.1
  65. allow_localhost
  66.  
  67. connection_max_messages=1000
  68.  
  69.  
  70. begin retry
  71. * * F,2h,15m; G,16h,1h,1.5; F,4d,6h
  72. begin rewrite
  73. begin authenticators
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement