[EXIM] Virtual Domain Problem

Top Page
Delete this message
Reply to this message
Author: CDI Tech
Date:  
To: exim-users
Old-Topics: Re: [EXIM] oddity in appendfile
Subject: [EXIM] Virtual Domain Problem

Im hoping someone can shed some light onto my little problem.

A customer Im hosting virtual domains wants all his mail going to a
specific email address except for one address. ie. If I put.

rolig_domains:
    driver = smartuser,
    domains = rolig.com;
    newu_address = rolig@???


followed by...

virtual:
    driver = aliasfile
    domains = dbm;/etc/domains
    no_more
    file = /etc/mail/$domain
    search_type = dbm


All email goes to rolig@??? no matter what I put in
/etc/mail/rolig.com

If I reverse the order to..

virtual:
    driver = aliasfile
    domains = dbm;/etc/domains
    no_more
    file = /etc/mail/$domain
    search_type = dbm


followed by...

rolig_domains:
    driver = smartuser,
    domains = rolig.com;
    newu_address = rolig@???



It only uses the address in /etc/mail/$domain

Is there a way I can get it to check /etc/mail/$domain and if it cant find
an address then just send it to rolig@??? ?

Sorry I couldnt explain myself better but can somebody help me out?



Regards
Scott Stavretis
Connect Direct Internet
---- www.cdi.com.au ----


--
*** Exim information can be found at http://www.exim.org/ ***