Don't reject spam messages from a few trusted hosts.
[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 # Don't reject spam from these hosts, since they are known dumb, but trusted
27 # relays. They will only send rejects to the wrong people.
28 hostlist dont_reject_spam_hosts = katherina.student.utwente.nl : kat.student.utwente.nl : *.utsp.utwente.nl
29
30 # Use this domain on any unqualified addresses that get submitted. Since this
31 # can come from any vserver, just use our main hostname.
32 qualify_domain = drsnuggles.stderr.nl
33
34 # Let exim know how the rest of the world will try to reach us.
35 hosts_treat_as_local = drsnuggles.stderr.nl
36
37 # The gecos field in /etc/passwd holds not only the name. see passwd(5).
38 gecos_pattern = ^([^,:]*)
39 gecos_name = $1
40
41 # Defines the access control list that is run when an
42 # SMTP MAIL command is received.
43 acl_smtp_mail = acl_check_mail
44 # Defines the access control list that is run when an
45 # SMTP RCPT command is received.
46 acl_smtp_rcpt = acl_check_rcpt
47 # Defines the access control list that is run when an
48 # SMTP DATA command is received.
49 acl_smtp_data = acl_check_data
50
51
52 # Do a reverse DNS lookup on all incoming IP calls, in order to get the
53 # true host name.
54 host_lookup = *
55
56 # Queue handling
57 #
58 # Drop undeliverable bounces after this time
59 ignore_bounce_errors_after = 2d
60 # Bounce frozen messages after this time
61 timeout_frozen_after = 7d
62 # Tell postmaster about freezing
63 freeze_tell = postmaster
64 # Define spool directory
65 spool_directory = /var/spool/exim4
66 # Don't send out delivery delay warnings (by default once every 24h).
67 delay_warning =
68
69 # Log subjects, for easy tracing of messages and peer dn on TLS connections.
70 # Don't log complete headers on rejects, that clutters the log.
71 log_selector = +subject +tls_peerdn +tls_certificate_verified -rejected_header
72
73 # vim: set sts=2 expandtab sw=2 ai: