Virtual domain question...

Top Page
Delete this message
Reply to this message
Author: Hennie Rautenbach
Date:  
To: exim-users
Subject: Virtual domain question...
Hi there,

We're running exim-1.62. I'm having difficulty getting virtual domain
aliasing to work.

Lets say we are "domino.co.za" and I'm hosting a virtual domain
"blues.co.za". I have about 10 id's belonging to "blues.co.za" that I
would like forwarded to different places. Eg. I'd like
"mike@???" to go to "melba@???" and
"john@???" to go to "jp9@???" etc.

In my configure file I have the following local: statement:

local_domains = "info1.domino.co.za:\
                dbm;/opt/hppd/exim/domains"


In my configure file I have the following director:

virtual:
domains = dbm;/opt/hppd/exim/domains,
driver = aliasfile,
no_more;
file = /opt/hppd/exim/$domain,
search_type = dbm,

Where /opt/hppd/exim/domains contain one entry: blues.co.za
and /opt/hppd/exim/blues.co.za contain entries such as:

mike@???     melba@???
john@???    jp9@???


These work fine if "mike" is a login id on the host running exim. If
mike is not an id. on the host, the message fails with the following
error:

1997-10-30 16:27:29 0xQudF-0001Tq-00 <=
hennie@??? U=hennie P=lo cal S=1016 T="Test 1"
1997-10-30 16:27:29 0xQudF-0001Tq-00 ** mike@???:
unknown local-part "mike" in domain "blues.co.za"
1997-10-30 16:27:30 0xQudF-0001Tt-00 <= <> R=0xQudF-0001Tq-00 U=daemon
P=local S =1695 T="Mail delivery failed: returning message to sender"
1997-10-30 16:27:30 0xQudF-0001Tq-00 Error message sent to
hennie@???. co.za 1997-10-30 16:27:31
0xQudF-0001Tq-00 Completed

I don't want to create a local id. for every mail address in the
virtual domain. How can I fix this ?

Any help highly appreciated.

Hennie
=======================================================
Hennie Rautenbach        Tel:  082-556-1191
SABINET Online           Url:  http://www.sabinet.co.za
=======================================================   


--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/