Re: [exim] Multiple config files OpenBSD

Top Page
Delete this message
Reply to this message
Author: Bertrand Caplet
Date:  
To: exim-users
Subject: Re: [exim] Multiple config files OpenBSD
> You can't include sections of configuration file in arbitrarily
> mixed order, because routers should be put into "router" section,
> transports to "transport" section, the same for acls, rewrite, auth
> and others. Each section must have a specific delimiter for its
> beginning.
>
> Yes, you can do this via sorting with specifically chosen file
> names, but such approach is ugly and completely misleading. The
> better way is to include each section separately, as Debian script
> "update-exim4.conf" does:
>
> UPEX4C_sections="main acl router transport retry rewrite auth"
> [...] for i in ${UPEX4C_sections} ; do cat_parts
> "${UPEX4C_confd}/$i" done
>


Hey !
Yes I did said that's pretty ugly and actually it works well cause I
add main first then all the remaining alphabeticaly.

What your saying is great ! I'll do that. I'll check what cat_parts
does and write it.

I'll stay in touch and thanks,
- --
CHUNKZ.NET - dodgy DIYer and computer technician
Bertrand Caplet, Flers (FR)
Feel free to send encrypted/signed messages
Key ID: FF395BD9
GPG FP: DE10 73FD 17EB 5544 A491 B385 1EDA 35DC FF39 5BD9