The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

EXIM configurator can't do the updates I need ?

Discussion in 'E-mail Discussions' started by ozace, Jan 29, 2008.

  1. ozace

    ozace Member

    Joined:
    Feb 25, 2006
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    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{$local_part@$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
     
    #1 ozace, Jan 29, 2008
    Last edited: Jan 29, 2008
Loading...

Share This Page