[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Exim question



You'd better ask your question to a mail-related newsgroup or list.

Anyway, yes it's possible, you have to tell exim to accept for all your
domains :

local_domains = localhost:\
                domain1.com:\
                domain2.org:\
                domain3.com

Then use an alias file for the system :

system_aliases:
  driver = aliasfile
  file_transport = address_file
  pipe_transport = address_pipe
  file = /etc/aliases/domain1-com
  search_type = lsearch

And a virtual for each other domain :

virtual:
  driver = aliasfile
  domains = domain2.org
  file = /etc/aliases/domain2-org
  search_type = lsearch

Finally you create your aliases files in /etc/aliases and map them to real
users :

webmaster: user@domain1.com

Silver

----- Original Message -----
From: "Peczoli Zoltan" <pocok@pcdome.hu>
To: "Debian user list" <debian-user@lists.debian.org>
Sent: Friday, November 17, 2000 12:19 AM
Subject: Exim question


> hi,
>
> Sorry for being a little off but I have a question about exim (and exim
> faq is not clear enough for me)
>
> I want to receive mail for several domains (let's say a.com and
> b.com) on the same IP. Is it possible to make exim deliver info@a.com and
> info@b.com to different local users? More generally, is it possible to
> create some kind of "routing" files (eg rows of <virtual name> -> <real
> user name> pairs) for each "virtual host"?
>
> Thanx:
>                   pocok




Reply to: