Re: [EXIM] aliasing

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Marc Haber
Data:  
Para: exim-users
Assunto: Re: [EXIM] aliasing
On Wed, 3 Feb 1999 12:30:49 GMT, you wrote:
>> I have setup exim, so that each virtual host has its on alias file.
>> However what I want to do is to allow people who have a .co.uk and a
>> .com domain to use the same alias file, if they wish, or to have
>> separate ones, is there an easy way to do this, or should I be looking
>> down a dns route.
>
>Set up two aliasfile directors for the domains wibble.com and wibble.co.uk
>but make them both use the same aliases file......
>
>Drawback is that you may end up with a lot of aliasfile directors.....


I have a single alias file director
|system_aliases:
| driver = aliasfile
| file = /etc/aliases/$domain
| search_type = lsearch


for all my virtual domains. If I want two domains to be identical, I
symlink one domain to the other in /etc/aliases.

Seems to work reasonably well.

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


--
*** Exim information can be found at http://www.exim.org/ ***