On Fri, 5 May 2006, Chris Cowen wrote:
>
> I'd like to set up an alias for [EMAIL PROTECTED] to go to
> [EMAIL PROTECTED]
>
> 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.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to