Re: [Exim] rewriting mail

Góra strony
Delete this message
Reply to this message
Autor: Mark Rigby-Jones
Data:  
Dla: Exim User (E-mail)
Temat: Re: [Exim] rewriting mail
On Tue, 1 Oct 2002, at 11:49, David Markham typed:
> So it rewrites something@??? to name@???
> Can I place the re-write in a router or transport or something so its just
> done on domain.co.uk and not on other ones? If so what sort of syntax would
> be used?


Is something like this what you're after (assuming Exim 4)?

# Rewrite xxx@??? to username@???
user_community:
driver = redirect
domains = *.community.co.uk
data = ${extract{1}{.}{$domain}}@???

mrj
--
              Mark Rigby-Jones, Head of Systems, ts.com Ltd
      Windsor House, 12 High Street, Kidlington, Oxford OX5 2PJ, UK
   Tel: +44-1865-856000 (Direct: +44-1865-856009) Fax: +44-1865-856001
            mrj@??? <*> http://www.community.net.uk/~mrj/