Re: [Exim] virtual hosts

Pàgina inicial
Delete this message
Reply to this message
Autor: Toffe
Data:  
A: scapegoat, exim-users
Assumpte: Re: [Exim] virtual hosts
Le Fri, 20 Dec 2002 11:54:31 +0200, Gokcen Ogutcu griffonnait...
>This is a multi-part message in MIME format.
>--
>[ Picked text/plain from multipart/alternative ]
>hello,
>
>i want to host virtual hosts on exim,
>but i don't have a /etc/mail/virtual directory, can i simply create
>this folder and put the appropriate files or will i need to make
>some other changes? can't i use standard aliases file of linux?


you can put :
local_domains = localhost : your-domain : /etc/exim/virtual-domains
(this file contains just line like :
virt-dom.com)
and then in the virtual_aliases directors :
virtual_aliases:
driver = aliasfile
domains = /etc/exim/virtual-domains
file = /etc/exim/virtual-users
include_domain
qualify_preserve_domain
search_type = lsearch*@

where virtual-users contains the match between virtual e-mail and
real one. (ex: toto@??? joe.smith@???)

Hope it help,
Toff