[Pkg-exim4-users] split configuration issues

Marc Haber mh+pkg-exim4-users at zugschlus.de
Tue Aug 23 10:47:02 UTC 2005


On Tue, Aug 23, 2005 at 12:18:32PM +0200, Thijs Koetsier | Exception wrote:
> I'm having trouble to exactly understand the way to configure exim4 by split
> files configuration. By reading the documentation I do have an idea about
> the separate routers and transport files, which helped me with vacation
> messages and spamchecks. 
> 
> What I don't get, is how to set 'normal' configuration parameters. When I
> want to set the quota for each user, the Exim4 book tells me to specify this
> as "quota = 10M".

In which part of the configuration do you have to set this option (not
having the exim book handy by now)? From a quick look in the spec.txt
file the quota option is part of the appendfile transport
configuration, so - in a split configuration - that option goes into
each appendfile transport.

It might be a surprise that transport configuration can be found in
/etc/exim4/conf.d/transport.

> I don't see how to set this value in the split files, and
> think it might be preferred to have a router to check an incoming message
> with the quota and if that leads to problems, to have a transport send it
> back to the user.

I do not quite understand what you mean.

I would recommend reading spec.txt. The documentation of the
quota-related options in the appendfile transport seems to be quite
extensive. Maybe, the FAQ question Q0605 is of help as well.
Additionally, the exim wiki gives a link to
http://www.alios.org/exim4quota.html which might be of help for you as
well.

Please note that all this documentation is available to all exim users
with direct links from the exim upstream web site.

There does not seem to be an easy possibility to have exim reject
messages to an over-quota mailbox at SMTP time.


> For these kind of things I can't hardly find any
> documentation; what I find is mostly based on monolithic file.

The split config is not _that_ different from the monolithic config as
you might think. The split config is concatenated together to give a
monolithic config for the daemon, so the correspondence of the split
config directories and the monolithic file is pretty much 1:1.

This is from the update-exim4.conf(8) man page:
       If dc_use_split_config in /etc/exim4/update-exim4.conf.conf specifies a
       split  configuration, update-exim4.conf processes the /etc/exim4/conf.d
       subdirectories in  the  order  main,  acl,  router,  transport, retry,
       rewrite  and auth. Within each directory it takes files in lexical sort
       order by file name. It concatenates all these files and makes the  deb-
       conf replacement described below.

Maybe it would be a good idea to read that man page in its entirety.

> My question is, am I looking at this split configuration in the wrong way?
> Is it possible to easily embed configuration for the monolithic file in
> split files (which I thought it was)

A monolithic configuration is built from the split files. It's the
same thing, only differently packaged.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the Pkg-exim4-users mailing list