EXIM configurator can't do the updates I need ?

ozace

Member
Feb 25, 2006
18
0
151
Hi,
I need to update my exim.conf to support my email redirect service. Now I do this by updating the :
domainlist local_domains = lsearch;/etc/localdomains

domainlist relay_domains = lsearch;/etc/localdomains : \
lsearch;/etc/secondarymx

entries to also point to one of my files that contains valid relayers and forwarders:

domainlist local_domains = lsearch;/etc/localdomains : \
lsearch;/path/mylocaldomains

domainlist relay_domains = lsearch;/etc/localdomains : \
lsearch;/etc/secondarymx: \
lsearch;/path/mylocaldomains


then in the Director Configuration between valias_domain_file and virtual_aliases I have:


virtual_aliases_jc_nostar:
driver = redirect
allow_defer
allow_fail
data = ${if exists{/path/valiases/$domain}{${lookup{[email protected]$domain}lsearch{/path/valiases/$domain}}}}
file_transport = address_file
pipe_transport = virtual_address_pipe

virtual_aliases_jc:
driver = redirect
allow_defer
allow_fail
data = ${if exists{/path/valiases/$domain}{${lookup{*}lsearch{/path/valiases/$domain}}}}
file_transport = address_file
pipe_transport = virtual_address_pipe

this all work beautifully and users can do email redirects with just a dns entry on my box but no cpanel user defined.

Now I want to be able to set this up so the exim advanced configurator can manage it and merge in future updates properly. However both sections are outside of the std "user modifiable" areas. Is there some other way to get this into the system and future-proof myself or will I always have to retro fit changes?

cheers

Jim
 
Last edited: