Re: [exim] Multiple config files OpenBSD

Top Pagina
Delete this message
Reply to this message
Auteur: Bertrand Caplet
Datum:  
Aan: exim-users
Onderwerp: Re: [exim] Multiple config files OpenBSD
>
> It only works for a file, as far as Exim is concerned:
>
> http://exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_run_time_configuration_file.html#SECID41
>
> Section 3: File inclusions in the configuration file


Hey,

just for you to know I had multiple config files on *BSD working.
I modified the /etc/rc.d/exim file :

rc_pre() {
        [ ! -f /etc/mailer.conf.exim ]
cat ${exim_path}configure.conf > ${exim_path}configure && find
${exim_path}conf.d -type f | grep conf.d/main |sort| xargs cat >>
${exim_path}configure&& find ${exim_path}conf.d -type f | grep -v
conf.d/main |sort| xargs cat >> ${exim_path}configure
}


That's pretty dirty but it works perfectly. If you have better ideas I'm
open

Regards,

--
CHUNKZ.NET - script kiddie 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