exim: Don't log headers on rejection.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / main / main_config
1 ######################################################################
2 #                    MAIN CONFIGURATION SETTINGS                     #
3 ######################################################################
4
5 # LDAP server to use for main lookups
6 LDAPSERVER=ldap://ldap.drsnuggles.stderr.nl:389
7 LDAPBASE=dc=drsnuggles,dc=stderr,dc=nl
8
9 # List of virtual domains for which we deliver to any address that happens to
10 # be configured in the LDAP directory.
11 domainlist virtual_domains = stdin.nl : stderr.nl : stdout.nl : blues-brothers.eu : foresightsecurity.nl : hekjelarp.nl
12 # List of real hosts for which we deliver mail to real users.
13 domainlist real_domains = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl
14 # The list of domains for which we handle mail ourselves
15 domainlist local_domains = +virtual_domains : +real_domains
16
17 # List of recipient domains to relay _to_. Use this list if you're -
18 # for example - fallback MX or mail gateway for domains.
19 domainlist relay_to_domains = fizzgig.eu : fizzgig.nl
20
21 # Relay messages for all other vservers and the host. We would specify
22 # +real_domains here, but mixing domainlists and hostlist doesn't seem to work
23 # at first glance.
24 hostlist relay_from_hosts = *.drsnuggles.stderr.nl : drsnuggles.stderr.nl 
25
26 # Use this domain on any unqualified addresses that get submitted. Since this
27 # can come from any vserver, just use our main hostname.
28 qualify_domain = drsnuggles.stderr.nl
29
30 # Let exim know how the rest of the world will try to reach us.
31 hosts_treat_as_local = drsnuggles.stderr.nl
32
33 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
34 gecos_pattern = ^([^,:]*)
35 gecos_name = $1
36
37 # Defines the access control list that is run when an
38 # SMTP MAIL command is received.
39 acl_smtp_mail = acl_check_mail
40 # Defines the access control list that is run when an
41 # SMTP RCPT command is received.
42 acl_smtp_rcpt = acl_check_rcpt
43 # Defines the access control list that is run when an
44 # SMTP DATA command is received.
45 acl_smtp_data = acl_check_data
46
47
48 # Do a reverse DNS lookup on all incoming IP calls, in order to get the
49 # true host name.
50 host_lookup = *
51
52 # Queue handling
53 #
54 # Drop undeliverable bounces after this time
55 ignore_bounce_errors_after = 2d
56 # Bounce frozen messages after this time
57 timeout_frozen_after = 7d
58 # Tell postmaster about freezing
59 freeze_tell = postmaster
60 # Define spool directory
61 spool_directory = /var/spool/exim4
62 # Don't send out delivery delay warnings (by default once every 24h).
63 delay_warning =
64
65 # Log subjects, for easy tracing of messages and peer dn on TLS connections.
66 # Don't log complete headers on rejects, that clutters the log.
67 log_selector = +subject +tls_peerdn +tls_certificate_verified -rejected_header
68
69 # vim: set sts=2 expandtab sw=2 ai: