Re: [Exim] virtual domains

Top Page
Delete this message
Reply to this message
Author: Ashley Kleynhans
Date:  
To: Victor Tayer
CC: exim-users
Subject: Re: [Exim] virtual domains
add this directive to your exim configuration file:

local_domains = localdomain.com:dbm;/usr/exim/local_domains.db

and under the directors configuration section add:

virtual:
driver = aliasfile
domains = dbm;/usr/local/exim/local_domains.db
no_more
file = /usr/exim/$domain
search_type = lsearch*@

then create a file called: /usr/exim/local_domains
this will be a text file listing your domains one beneath another eg:
domain1.com
domain2.com
irc.myip.net
etc

To compile it into dbm format, run /usr/exim/bin/exim_dbmbuild local_domains local_domains.db

You should also create text files for each one of the domains that appears in local_domains
so in other words, create a file called irc.myip.net and within it do the following:

jett:    jett@???


That should pretty much accomplish what you are trying to achieve.

(remember to substitute the paths to where you have installed exim to on your specific system)

Regards
Ashley

*********** REPLY SEPARATOR ***********

On 2000/09/22 at 04:09 Victor Tayer wrote:

>does exim support virtual domain hosting
>
>example:
>
>jett@???    jett@???

>
>if i email jett@???, mails will be forwarded
>to jett@???
>
>is this possible with exim, and how?
>
>tayerv