Re: [exim] Simple domain alias question

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: Chris Cowen
CC: exim-users
Temat: Re: [exim] Simple domain alias question
On Fri, 5 May 2006, Chris Cowen wrote:
>
> I'd like to set up an alias for mail@??? to go to
> mail@???
>
> I understand there's a few different ways I can approach this. However,
> first of all I am not sure if I need to include oracletc.co.uk in the
> local domains, as part of the list of domains to relay for or neither.


The local_domains list.

> I guess my first question has to be - can I do this with an alias,
> without using address rewriting?


Yes. Rewrite rules are almost never needed in Exim 4.

With the domain_aliases router from the FAQ, add an entry like this to the
virtual domains file:

    oracletc.co.uk    oracletc.co.uk


Then create a file /etc/aliases.d/oracletc.co.uk containing entries like:

    mail:    mail.nedco.co.uk


Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}