Autor: Wakko Warner Data: A: Lena CC: exim-users Assumpte: Re: [Exim] Different options with same main configuration file
> I thought to ask cPanel authors to insert a line into /etc/exim.conf > on all machines:
>
> .include /etc/exim.include-config-main
>
> and to create that file with two lines
>
> accept_8bitmime
> untrusted_set_sender = *
>
> on only one machine (then cPanel daemon doesn't update it).
> But Exim gives error message "failed to open included configuration file"
> if the file doesn't exist (on all other machines).
touch /etc/exim.include-config-main
then you won't have a problem. Unfortunately, this means all machines will
require the empty file to be there.
> Two other ways I thought of:
>
> ${if exists{/etc/exim.include-config-main}{.include /etc/exim.include-config-main}}
>
> ${if exists{/etc/exim.conf-8bitmime}{accept_8bitmime}}
> ${if exists{/etc/exim.conf-8bitmime}{untrusted_set_sender = *}}
>
> also don't work - give error messages like:
Of course, lines are not expanded. Only options values are expanded (some
aren't though).
> So far I see only one soluton - to make feature request:
> .includeifexists
> working like .include (6.3 in Exim Specification), but silently
> ignored if the file doesn't exist. Easy to implement I suppose.
Should be.
> Or just make .include to work that way.
I'm not sure how many people would like that. Personally, I wouldn't want
exim coming up if I had a file that is required missing.
--
Lab tests show that use of micro$oft causes cancer in lab animals