custom modification fails in /etc/exim.variables.conf.custom not when directly in exim.conf with "Main option" unknown

This is it

Verified User
Joined
Feb 12, 2017
Messages
26
Panic log: Exim configuration error in line 3 of /etc/exim.variables.conf: main option "copy_all_mail" unknown. And offcourse exim wont start. However if i put exact same code in exim.conf en restart is it works.

The only data in /etc/exim.variables.conf.custom is:

copy_all_mail:
driver = redirect
condition = ${if match{$message_body}{DKIM}}
data = [email protected]
unseen

i run after modification
cd /usr/local/directadmin/custombuild/
./build exim

Anyone ideas?
 
Last edited:
doesn't solves my problem/question either
You might need to be a bit more specific then for what you want as this also copy's mail to a certain mail address.

Seems exim does not know any copy_all_mail option, but I could be wrong.
Also it seems the exim.variables.conf.custom (which you should create instead of editing the original one) is not the correct file but the system_filter.exim is to be used. Which you can create a custom for using the custom options in DA.

If not, then somebody else might know.
 
Back
Top