The Exim FAQ

Contents   Previous  

99. LIST OF SAMPLE CONFIGURATIONS

As well as being hyperlinked from the HTML version of this document, each sample configuration is also available as a file in the config.samples directory, which can be independently downloaded.

Samples whose names are of the form Cnnn are Exim configurations; those with names of the form Fnnn are filter file fragments; those with names of the form Lnnn are sample local_scan() functions, and those with names of thf form Snnn are scripts of various kinds. There are other examples of local_scan() functions at a number of web sites (for example, http://marc.merlins.org/linux/exim/sa.html).

There are gaps in the C and F numbers because I have omitted the Exim 3 samples that have not been converted for Exim 4.

C002:   ``Although exim not intended for use in UUCP environment (it doesn't know anything about bang!path addresses), I'm successfully using it for delivering mail to UUCP clients.''

C006:   ``This is how I have configured a PP-inspired vacationnote, there is (was?) such a feature in PP. The user makes a file tripnote in his/her home directory, the message is passed to the sender once with a short leading text.''

C022:   ``This is the Exim configuration file of a machine which delivers mail to several local domains where the mail is delivered locally, several hairy domains, handled as described below, and a half-virtual domain, which is first processed by its special alias file, then processed as other local domains (including the processing by the global alias file).''

C037:   An elegant way of using ETRN, which does immediate delivery if the host is online, but saves mail in a BSMTP file after some time on the queue. ETRN then re-injects the mail.

C042:   ``Since the Exim 4 configuration needed to get Mailman to work differs a little bit from Exim 3 and since I still haven't seen a recipe for Mailman with Exim 4, I'm providing my configuration (based heavily on http://www.exim.org/howto/mailman.html).''

C043:   ``Attached is an Exim 4 config file which is designed for an Exim server that is put in front of an Exchange 5.5 system but which verifies the valid addresses that are stored in Exchange via LDAP lookups against the Exchange server.''

C044:   ``I thought I'd submit this as an example of an authenticated mail hub configuration. Several people have asked for it so I thought it might be of interest.''

C045:   ``Here it is, for Exim 4.10 and Cyrus IMAPD 2.1.5 using db3/db4-format mailbox database. This configuration delivers the messages to Cyrus IMAPD using LMTP over a TCP/IP socket.''

C046:   ``Deliver a duplicate of some proportion of all messages to a special machine specified in the file /MAIL_TAP_HOST, if it exists.''

C047:   A sample configuration for calling Spamassassin directly from Exim.

C049:   ``I've been seeing a whole bunch of IPs that send me spam or virus mail and HELOing as one of my own IPs, or as HELO one.of.my.own.domains (or maybe HELO primary_hostname).''

C050:   A configuration that uses the DNS to implement virtual domains.

F001:   ``I thought that the rest of the list may be interested in reviewing our filter as a starting point for their own system message filter.''

F002:   ``... program which refused mail from unknown addresses until they mailed me promising not to spam me ... since I'd already thought through how to do it in Exim, and knew it'd be slightly easier than falling out of bed, I went ahead and did it.''

F003:   ``Here's four checks installed in our system wide filter that knock out a lot of otherwise hard to detect rubbish.''

F004:   ``This is an Exim filter snippet to change locally-generated Message-Id: and Resent-Message-Id: headers to world-unique values.''

L001:   A local_scan() function for Exim that calls uvscan.

S001:   A Perl script for patching the name of the configuration file in an Exim binary.

S002:   ``When I moved from smail to exim I built a program that took individual config pieces, stripped all the comments, and built a config file.''



Contents   Previous