chiark / gitweb /
exim-config
10 years agovhost.m4: Add transports to the live filter routers.
Mark Wooding [Wed, 12 Feb 2014 12:52:41 +0000 (12:52 +0000)]
vhost.m4: Add transports to the live filter routers.

10 years agobase.m4 (FILTER_TRANSPORTS): Don't use these when verifying.
Mark Wooding [Wed, 12 Feb 2014 12:52:11 +0000 (12:52 +0000)]
base.m4 (FILTER_TRANSPORTS): Don't use these when verifying.

Exim gets very upset.

10 years agobase.m4: Fix received line to report HELO names properly.
Mark Wooding [Tue, 4 Feb 2014 18:04:52 +0000 (18:04 +0000)]
base.m4: Fix received line to report HELO names properly.

10 years agobase.m4: More subtle handling of HELO greetings.
Mark Wooding [Mon, 3 Feb 2014 15:35:04 +0000 (15:35 +0000)]
base.m4: More subtle handling of HELO greetings.

Rather than rejecting incorrect HELO greetings, we make two adjustments:

  * There's now an auxiliary list, `helo.conf', of manually provided
    exceptions, for well-known and basically honest hosts which are just
    misconfigured.

  * A failure to provide a correct HELO greeting now results in a
    BADHELO warning header rather than an immediate rejection.
    SpamAssassin has been configured to notice these headers and assign
    points for them, because they do seem to be a good indicator of
    spamminess.

10 years agoexchange.m4: Add the relevant information to `RCLNTLSNDR' warnings.
Mark Wooding [Mon, 3 Feb 2014 15:33:56 +0000 (15:33 +0000)]
exchange.m4: Add the relevant information to `RCLNTLSNDR' warnings.

As a general rule, extra data goes on a subsequent line, as
comma-separated KEY=VALUE pairs.

10 years agoconfig.m4, base.m4: Make the `admin_groups' setting a config knob.
Mark Wooding [Mon, 3 Feb 2014 15:31:08 +0000 (15:31 +0000)]
config.m4, base.m4: Make the `admin_groups' setting a config knob.

It wants to be overridden in testing.

10 years agospam.m4: Don't bother reading custom spam limits in submission mode.
Mark Wooding [Mon, 3 Feb 2014 15:09:02 +0000 (15:09 +0000)]
spam.m4: Don't bother reading custom spam limits in submission mode.

10 years agoREADME: More or less complete.
Mark Wooding [Tue, 28 Jan 2014 02:00:41 +0000 (02:00 +0000)]
README: More or less complete.

10 years agoconfig.m4: List `+' suffixes first.
Mark Wooding [Sun, 26 Jan 2014 16:02:56 +0000 (16:02 +0000)]
config.m4: List `+' suffixes first.

Otherwise `foo+ping-pong' gets delivered to `foo+ping' with suffix
`-pong', which is obviously silly.  Maybe we need to do something
cleverer, but this will do for now.

10 years agospam.m4: Allow negative thresholds.
Mark Wooding [Sun, 26 Jan 2014 16:02:17 +0000 (16:02 +0000)]
spam.m4: Allow negative thresholds.

10 years agospam.m4: Check that non-userv spam thresholds are well-formed.
Mark Wooding [Sun, 26 Jan 2014 16:01:17 +0000 (16:01 +0000)]
spam.m4: Check that non-userv spam thresholds are well-formed.

Both are untrustworthy sources.

10 years agolocal.m4: Switch `aliases' file to `nwildlsearch' and expand the result.
Mark Wooding [Sun, 26 Jan 2014 15:53:10 +0000 (15:53 +0000)]
local.m4: Switch `aliases' file to `nwildlsearch' and expand the result.

Makes the file much more versatile.

10 years agovhost.m4: New virtual hosting knobs in `domains.conf'.
Mark Wooding [Sun, 26 Jan 2014 13:49:48 +0000 (13:49 +0000)]
vhost.m4: New virtual hosting knobs in `domains.conf'.

`final' is a boolean indicating whether local parts should be looked
up using the system-global rules.

`home' is a home directory to set, which is useful if filter files are
being used.

10 years agospam.m4: Don't check submitted messages.
Mark Wooding [Sun, 26 Jan 2014 13:19:42 +0000 (13:19 +0000)]
spam.m4: Don't check submitted messages.

Also, factor out the `do we check this' logic into a separate ACL,
because I got confused during testing and only modified one copy.

10 years agobase.m4, exchange.m4, config.m4: Tweak TLS settings.
Mark Wooding [Sun, 26 Jan 2014 13:05:32 +0000 (13:05 +0000)]
base.m4, exchange.m4, config.m4: Tweak TLS settings.

Mobile devices object to (a) lack of SHA1, (b) lack of TLSv1.0, and (c)
very large (as they see it) Diffie--Hellman groups.  Fix these things,
grudgingly.

10 years agobase.m4: Get the `authenticated_sender' rune right.
Mark Wooding [Sun, 26 Jan 2014 05:25:32 +0000 (05:25 +0000)]
base.m4: Get the `authenticated_sender' rune right.

10 years agoexchange.m4, config.m4: Arrange to listen on the submission port.
Mark Wooding [Sun, 26 Jan 2014 05:24:15 +0000 (05:24 +0000)]
exchange.m4, config.m4: Arrange to listen on the submission port.

This involves mentioning the SMTP port too, so add a configuration knob
for it.

10 years agobase.m4: Twiddle received lines.
Mark Wooding [Sun, 26 Jan 2014 05:23:33 +0000 (05:23 +0000)]
base.m4: Twiddle received lines.

Now we don't have the version comment on its own line if we received
with TLS.  The code's a bit uglier (because of the repeated
${if def:tls_cipher ...}) but the output is much neater.

10 years agospam.m4: Don't filter messages intended for postmaster.
Mark Wooding [Sat, 25 Jan 2014 19:59:43 +0000 (19:59 +0000)]
spam.m4: Don't filter messages intended for post

10 years agoauth.m4: Ensure that `not_smtp_start' is properly terminated.
Mark Wooding [Sat, 25 Jan 2014 19:57:53 +0000 (19:57 +0000)]
auth.m4: Ensure that `not_smtp_start' is properly terminated.

ACLs default to `deny' if you don't say anything.  It doesn't actually
matter in this case, since the result of `acl_not_smtp_start' is
ignored, but it's the principle of the thing.

10 years agolists.m4: Need separate local-part and address lists for `user_extaddr'.
Mark Wooding [Sat, 25 Jan 2014 19:53:01 +0000 (19:53 +0000)]
lists.m4: Need separate local-part and address lists for `user_extaddr'.

Since named lists of different types live in separate namespaces, we
have to duplicate.  This is a little annoying.

10 years agospam.m4: Fix report generation to cope with negative scores.
Mark Wooding [Sat, 25 Jan 2014 15:02:25 +0000 (15:02 +0000)]
spam.m4: Fix report generation to cope with negative scores.

Oops!

10 years agospam.m4: Fiddle with blank lines.
Mark Wooding [Sat, 25 Jan 2014 14:33:06 +0000 (14:33 +0000)]
spam.m4: Fiddle with blank lines.

Remove a spurious one; put another in.

10 years agobase.m4: Fiddle with permissions settings for local delivery transports.
Mark Wooding [Sat, 25 Jan 2014 14:21:16 +0000 (14:21 +0000)]
base.m4: Fiddle with permissions settings for local delivery transports.

10 years agobase.m4: Allow `adm' users to administrate the server.
Mark Wooding [Sat, 25 Jan 2014 14:20:51 +0000 (14:20 +0000)]
base.m4: Allow `adm' users to administrate the server.

10 years agovhost.m4: Don't crash if `domains.conf' doesn't exist.
Mark Wooding [Sat, 25 Jan 2014 13:48:19 +0000 (13:48 +0000)]
vhost.m4: Don't crash if `domains.conf' doesn't exist.

10 years agoMakefile: Verify configurations before installing them.
Mark Wooding [Sat, 25 Jan 2014 13:36:05 +0000 (13:36 +0000)]
Makefile: Verify configurations before installing them.

Since we can't always verify them at the origin, this seems like an
important way of avoiding screwing things up badly.

10 years agoMakefile: Remove old debugging rule.
Mark Wooding [Sat, 25 Jan 2014 13:34:05 +0000 (13:34 +0000)]
Makefile: Remove old debugging rule.

Shouldn't have been committed in the first place.

10 years agoexchange.m4: Reluctantly accept local senders from remote clients.
Mark Wooding [Fri, 10 Jan 2014 11:28:46 +0000 (11:28 +0000)]
exchange.m4: Reluctantly accept local senders from remote clients.

10 years agospam.m4: Apply Exim's header validation to incoming messages.
Mark Wooding [Fri, 10 Jan 2014 11:27:26 +0000 (11:27 +0000)]
spam.m4: Apply Exim's header validation to incoming messages.

10 years agobase.m4: Add some commentary to the `connect-tail' ACL portion.
Mark Wooding [Fri, 10 Jan 2014 11:27:07 +0000 (11:27 +0000)]
base.m4: Add some commentary to the `connect-tail' ACL portion.

10 years agoMakefile: Improve commentary.
Mark Wooding [Fri, 10 Jan 2014 11:26:27 +0000 (11:26 +0000)]
Makefile: Improve commentary.

10 years agoMakefile: Better `install' targets, with hostnames only.
Mark Wooding [Sun, 29 Dec 2013 20:02:14 +0000 (20:02 +0000)]
Makefile: Better `install' targets, with hostnames only.

Including the config mode just makes the user interface awful.

10 years agoInitial commit.
Mark Wooding [Sun, 29 Dec 2013 19:39:09 +0000 (19:39 +0000)]
Initial commit.