[Exim] e-mail forwarding

Top Page
Delete this message
Reply to this message
Author: Corin Hartland-Swann
Date:  
To: exim-users
Subject: [Exim] e-mail forwarding
Hi there,

One of the things I want to set up is for anything@onedomain to forward to
anything@anotherdomain. In sendmail I'd accomplish this with the following
virtusertable entry:

@onedomain                %1@anotherdomain


I tried adding @onedomain -> ${local_part}@anotherdomain into my aliases,
but this did not expand - it sent it to that literal address.

Can I accomplish this in my aliases with a special token, or do I need to
do something completely different?

Thanks in advance,

Corin

/------------------------+-------------------------------------\
| Corin Hartland-Swann   | Direct: +44 (0) 20 7544 4676        |
| Commerce Internet Ltd  | Mobile: +44 (0) 79 5854 0027        |
| 22 Cavendish Buildings |    Tel: +44 (0) 20 7491 2000        |
| Gilbert Street         |    Fax: +44 (0) 20 7491 2010        |
| Mayfair                |    Web: http://www.commerce.uk.net/ |
| London W1K 5HJ         | E-Mail: cdhs@???        |

\------------------------+-------------------------------------/