X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fexim4%2Fconf.d%2Fmain%2Fmain_config;fp=etc%2Fexim4%2Fconf.d%2Fmain%2Fmain_config;h=9d05b0ed5d976e5f09bd1e845ab7d7d00de26893;hb=00913fc5c4f0bd4a78df5fb067cfb10392aebe7c;hp=0000000000000000000000000000000000000000;hpb=0625c01974df320cade3f9cd56674bcdfee0d9f3;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/exim4/conf.d/main/main_config b/etc/exim4/conf.d/main/main_config new file mode 100644 index 0000000..9d05b0e --- /dev/null +++ b/etc/exim4/conf.d/main/main_config @@ -0,0 +1,61 @@ +###################################################################### +# MAIN CONFIGURATION SETTINGS # +###################################################################### + +# LDAP server to use for main lookups +LDAPSERVER=ldap://ldap.drsnuggles.stderr.nl:389 +LDAPBASE=dc=drsnuggles,dc=stderr,dc=nl + +# List of virtual domains for which we deliver to any address that happens to +# be configured in the LDAP directory. +domainlist virtual_domains = stdout.nl : blues-brothers.eu +# List of real hosts for which we deliver mail to real users. +domainlist real_domains = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl +# The list of domains for which we handle mail ourselves +domainlist local_domains = virtual_domains : real_domains + +# List of recipient domains to relay _to_. Use this list if you're - +# for example - fallback MX or mail gateway for domains. +domainlist relay_to_domains = + +# Relay messages for all other vservers and the host. We would specify +# +real_domains here, but mixing domainlists and hostlist doesn't seem to work +# at first glance. +hostlist relay_from_hosts = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl + +# Use this domain on any unqualified addresses that get submitted. Since this +# can come from any vserver, just use our main hostname. +qualify_domain = drsnuggles.stderr.nl + +# The gecos field in /etc/passwd holds not only the name. see passwd(5). +gecos_pattern = ^([^,:]*) +gecos_name = $1 + +# Defines the access control list that is run when an +# SMTP MAIL command is received. +acl_smtp_mail = acl_check_mail +# Defines the access control list that is run when an +# SMTP RCPT command is received. +acl_smtp_rcpt = acl_check_rcpt +# Defines the access control list that is run when an +# SMTP DATA command is received. +acl_smtp_data = acl_check_data + + +# Do a reverse DNS lookup on all incoming IP calls, in order to get the +# true host name. +host_lookup = * + +# Queue handling +# +# Drop undeliverable bounces after this time +ignore_bounce_errors_after = 2d +# Bounce frozen messages after this time +timeout_frozen_after = 7d +# Tell postmaster about freezing +freeze_tell = postmaster +# Define spool directory +spool_directory = /var/spool/exim4 + +# Log subjects, for easy tracing of messages and peer dn on TLS connections. +log_selector = +subject +tls_peerdn +tls_certificate_verified