View Single Post

  #1 (permalink)  
Old 04-25-2005
Patrick Holthuizen
 
Posts: n/a
Default Re: How to make this work?

noobe wrote:
> How would I do this?
> I have several @domain1 @domain2 and @domain3
> now I also have or want the same first part
> myself@domain1 now I want to have myself@domain2
> and myself@domain3 now I want all of mail to go to each @domain
> individually in other words I do not want myself@domain1 to go to
> myself@domain2 or 3 and all the possible combinations.
>
> I am using exim 4.42 with exiscan built in on Suse 9.2 pro
>
> What other requirements do I have to implement to make this work
> properly?
>
> I have read a lot of the help pages at exim.org and just got more
> confused and am at a bigger loss than when I started this.
>
>
> Thanks for any input on this



Change the exim.conf file with the following information:

# This allows local delivery to be forced, avoiding alias files and
# forwarding.

real_local:
prefix = real-
driver = localuser
transport = local_delivery

virtual:
driver = aliasfile
domains = domain1 : domain2 : domain3
file = /etc/aliases.$domain
search_type = lsearch
no_more


In the files /etc/aliases.domain1, /etc/aliases.domain2, ... you need to
make the translations to real user-ids.

Example for aliases.domain1:
info: mailinfodomain1
peter: mailpeterdomain1

Translates info@domain1 to the user mailinfodomain1 and translates
peter@domain1 to the user mailpeterdomain1.

I hope this helps.

Sincerely,
Patrick Holthuizen
Reply With Quote