Guest User

Untitled

a guest
Apr 7th, 2018
422
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. H=some-relay.my-isp.example.org [a.b.c.d] X=TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128 CV=no F=<anywhere-else@example.org> rejected RCPT <server@example.com>: Unrouteable address
  2.  
  3. #####################################################
  4. ### router/299_exim4-config_dovecot_router
  5. #####################################################
  6.  
  7. ### router/299_exim4-config_dovecot_router
  8. #################################
  9.  
  10. # This router delivers mail to any dovecot virtual
  11. # user who has a directory under /home/$domain/mail
  12. # Place after remote router and before localuser router
  13. # + addressing support requires uncommenting
  14. dovecot_router:
  15. driver = accept
  16. #local_part_suffix = +*
  17. #local_part_suffix_optional
  18. require_files = +/home/$domain/mail/$local_part/
  19. transport = dovecot_transport
  20.  
  21. #####################################################
  22. ### end router/299_exim4-config_dovecot_router
  23. #####################################################
  24.  
  25. #####################################################
  26. ### transport/40_exim4-config_dovecot_transport
  27. #####################################################
  28.  
  29. # Transport to send any mail for virtual dovecot users to correct maildir box
  30. dovecot_transport:
  31. debug_print = "T: dovecot_virtual appendfile for $local_part@$domain"
  32. driver = appendfile
  33. create_directory
  34. directory_mode = 0750
  35. directory = /home/$domain/mail/$local_part
  36. maildir_format = true
  37. delivery_date_add
  38. envelope_to_add
  39. return_path_add
  40. user = $domain
  41. group = $domain
  42. mode = 0640
  43. mode_fail_narrower = false
  44.  
  45. #####################################################
  46. ### end transport/40_exim4-config_dovecot_transport
  47. #####################################################
  48.  
  49. # Authenticate against Dovecot
  50. dovecot_plain:
  51. driver = dovecot
  52. public_name = PLAIN
  53. server_socket = /var/run/dovecot/auth-client
  54. server_set_id = $auth1
  55.  
  56. dovecot_login:
  57. driver = dovecot
  58. public_name = LOGIN
  59. server_socket = /var/run/dovecot/auth-client
  60. server_set_id = $auth1
  61.  
  62. # exim -bt server@example.com
  63. server@example.com
  64. router = dovecot_router, transport = dovecot_transport
  65.  
  66. # exim -bt server@example.com
  67. R: smarthost for server@example.com
  68. server@example.com
  69. router = smarthost, transport = remote_smtp_smarthost
  70. host mailhost.my-isp.example.org [a.b.c.d] port=587
  71. host mailhost.my-isp.example.org [a.b.c.e] port=587
Add Comment
Please, Sign In to add comment