After many months of tweaking and putting this together, I have made an
exim4.conf file with most of the options anyone would want, either enabled
with comments, or commented out as an example.
What's peculiar about this config file is that it's designed to be used on
many different mail servers with multiple uses, _without_ having to modify
the file on each server.
Yes, in theory, you should be able to use that one config file on all your
servers.
How does this work?
- Most lists are parsed from external files
- Options like trusted_users are included
Note that this includes 10 different small files, so there may be an almost
unnoticeable performance degradation every time exim starts (but if you have
enough RAM, it'll all be in your cache anyway)
So, what do you get?
- Every option, including callout, has a list or an exclude list
- Default system_filter.exim with Nigel's now unmaintained virus traps
- TLS support
- Received lines with SSL and authenticated user info
- Most of the options I found needed over the years (strip_trailing_dot,
print_topbitchars,
- Very detailed ACLs with mailman support
- You can even disable header from callbacks for some domains or receipients
- virtual domains with or without overlays and with or without cdb support.
auto-building domain list (dsearch): just drop a domain file, and you're done
- preconfigured vacation (correctly configured that is :-)
- delivery to maildir or var/spool/mail autodetected per user
- rewrites to your list domain if you use mailman
- Optional rewrite to your mail domain (domain.tld) on foo.domain.tld hosts
- Preconfigured working SMTP AUTH client and server
I very much welcome further things that should be in this file (within
reason), or things that I messed up.
You can browse all the files in
http://marc.merlins.org/linux/exim/exim4-conf/
or get the tar here:
http://marc.merlins.org/linux/exim/files/exim4.conf-mm4.tar.gz
Philip, if you're willing to include that in the default config archive,
that would be great.
Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@??? for PGP key