Re: [exim] Virtual Hosting

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Shine, Gary
Dátum:  
Címzett: 'Renaud Allard'
CC: exim-users
Tárgy: Re: [exim] Virtual Hosting
It seems to check if the local name is in the password (.passwd) file before
the aliases?

Is that simply the location of the code in the config file?

Regards
Gary

-----Original Message-----
From: Renaud Allard [mailto:renaud@llorien.org]
Sent: 26 January 2007 12:22
To: gshine@???
Cc: exim-users@???
Subject: Re: Virtual Hosting



Shine, Gary wrote:
> I have managed with help to solve most issues and EXIM is looking very

good.
> Last issue I have is with the same username at different domains. I
> need exim to understand that gary@domain1 is not the same as
> gary@domain2
>
> I have a file structured as below.
>
> gary@domain1:    dom1GARY
> gary@domain2:    dom2GARY

>
> How do I get exim to locally deliver to the correct POP Account or
> system account rather.
>
> Running the latest version of EXIM
>


You can have a router for virtual users like this
virtual_aliases:
         debug_print     = "R: virtual_aliases for $local_part@$domain"
         driver          = redirect
         allow_fail
         allow_defer
         data = ${lookup{$local_part@$domain}lsearch{/etc/virtaliases}}
         file_transport  = address_file
         pipe_transport  = address_pipe



--
010100100110010101101110011000010111010101100100
010000010110110001101100011000010111001001100100