30_exim4-config_maildir_home 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. ### transport/30_exim4-config_maildir_home
  2. #################################
  3. # Use this instead of mail_spool if you want to to deliver to Maildir in
  4. # home-directory - change the definition of LOCAL_DELIVERY
  5. #
  6. maildir_home:
  7. debug_print = "T: maildir_home for $local_part@$domain"
  8. driver = appendfile
  9. .ifdef MAILDIR_HOME_MAILDIR_LOCATION
  10. directory = MAILDIR_HOME_MAILDIR_LOCATION
  11. .else
  12. directory = $home/Maildir
  13. .endif
  14. .ifdef MAILDIR_HOME_CREATE_DIRECTORY
  15. create_directory
  16. .endif
  17. .ifdef MAILDIR_HOME_CREATE_FILE
  18. create_file = MAILDIR_HOME_CREATE_FILE
  19. .endif
  20. delivery_date_add
  21. envelope_to_add
  22. return_path_add
  23. maildir_format
  24. .ifdef MAILDIR_HOME_DIRECTORY_MODE
  25. directory_mode = MAILDIR_HOME_DIRECTORY_MODE
  26. .else
  27. directory_mode = 0700
  28. .endif
  29. .ifdef MAILDIR_HOME_MODE
  30. mode = MAILDIR_HOME_MODE
  31. .else
  32. mode = 0600
  33. .endif
  34. mode_fail_narrower = false
  35. # This transport always chdirs to $home before trying to deliver. If
  36. # $home is not accessible, this chdir fails and prevents delivery.
  37. # If you are in a setup where home directories might not be
  38. # accessible, uncomment the current_directory line below.
  39. # current_directory = /