01_exim4-config_listmacrosdefs 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. ######################################################################
  2. # Runtime configuration file for Exim 4 (Debian Packaging) #
  3. ######################################################################
  4. ######################################################################
  5. # /etc/exim4/exim4.conf.template is only used with the non-split
  6. # configuration scheme.
  7. # /etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs is only used
  8. # with the split configuration scheme.
  9. # If you find this comment anywhere else, somebody copied it there.
  10. # Documentation about the Debian exim4 configuration scheme can be
  11. # found in /usr/share/doc/exim4-base/README.Debian.gz.
  12. ######################################################################
  13. ######################################################################
  14. # MAIN CONFIGURATION SETTINGS #
  15. ######################################################################
  16. # Just for reference and scripts.
  17. # On Debian systems, the main binary is installed as exim4 to avoid
  18. # conflicts with the exim 3 packages.
  19. exim_path = /usr/sbin/exim4
  20. # Macro defining the main configuration directory.
  21. # We do not use absolute paths.
  22. .ifndef CONFDIR
  23. CONFDIR = /etc/exim4
  24. .endif
  25. # debconf-driven macro definitions get inserted after this line
  26. UPEX4CmacrosUPEX4C = 1
  27. # Create domain and host lists for relay control
  28. # '@' refers to 'the name of the local host'
  29. # List of domains considered local for exim. Domains not listed here
  30. # need to be deliverable remotely.
  31. domainlist local_domains = MAIN_LOCAL_DOMAINS
  32. # List of recipient domains to relay _to_. Use this list if you're -
  33. # for example - fallback MX or mail gateway for domains.
  34. domainlist relay_to_domains = MAIN_RELAY_TO_DOMAINS
  35. # List of sender networks (IP addresses) to _unconditionally_ relay
  36. # _for_. If you intend to be SMTP AUTH server, you do not need to enter
  37. # anything here.
  38. hostlist relay_from_hosts = MAIN_RELAY_NETS
  39. # Decide which domain to use to add to all unqualified addresses.
  40. # If MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN is defined, the primary
  41. # hostname is used. If not, but MAIN_QUALIFY_DOMAIN is set, the value
  42. # of MAIN_QUALIFY_DOMAIN is used. If both macros are not defined,
  43. # the first line of /etc/mailname is used.
  44. .ifndef MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN
  45. .ifndef MAIN_QUALIFY_DOMAIN
  46. qualify_domain = ETC_MAILNAME
  47. .else
  48. qualify_domain = MAIN_QUALIFY_DOMAIN
  49. .endif
  50. .endif
  51. # listen on all all interfaces?
  52. .ifdef MAIN_LOCAL_INTERFACES
  53. local_interfaces = MAIN_LOCAL_INTERFACES
  54. .endif
  55. .ifndef LOCAL_DELIVERY
  56. # The default transport, set in /etc/exim4/update-exim4.conf.conf,
  57. # defaulting to mail_spool. See CONFDIR/conf.d/transport/ for possibilities
  58. LOCAL_DELIVERY=mail_spool
  59. .endif
  60. # The gecos field in /etc/passwd holds not only the name. see passwd(5).
  61. gecos_pattern = ^([^,:]*)
  62. gecos_name = $1
  63. # define macros to be used in acl/30_exim4-config_check_rcpt to check
  64. # recipient local parts for strange characters.
  65. # This macro definition really should be in
  66. # acl/30_exim4-config_check_rcpt but cannot be there due to
  67. # http://www.exim.org/bugzilla/show_bug.cgi?id=101 as of exim 4.62.
  68. # These macros are documented in acl/30_exim4-config_check_rcpt,
  69. # can be changed here or overridden by a locally added configuration
  70. # file as described in README.Debian chapter 2.1.2
  71. .ifndef CHECK_RCPT_LOCAL_LOCALPARTS
  72. CHECK_RCPT_LOCAL_LOCALPARTS = ^[.] : ^.*[@%!/|`#&?]
  73. .endif
  74. .ifndef CHECK_RCPT_REMOTE_LOCALPARTS
  75. CHECK_RCPT_REMOTE_LOCALPARTS = ^[./|] : ^.*[@%!`#&?] : ^.*/\\.\\./
  76. .endif
  77. # always log tls_peerdn as we use TLS for outgoing connects by default
  78. .ifndef MAIN_LOG_SELECTOR
  79. MAIN_LOG_SELECTOR = +tls_peerdn
  80. .endif