Re: [exim] Lost trying to apply rewrite rules

Pàgina inicial
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
A: Michael Hitchins
CC: exim-users
Assumpte: Re: [exim] Lost trying to apply rewrite rules
On Sun, 27 Feb 2005, Michael Hitchins wrote:
>
> From what I understand, the rule below should work
>
> *@*.mjl.org.au $1@??? Ffrs


Looks plausible.

> The million dollar question is, where do I put it in the config file to make
> it work?
>
> I've edited the sample config that came with exim, and at no point does it
> have any notes on rewriting. I can't find it in Chapter 31, or 24, or in the
> FAQ.


Rewrite rules go in the rewrite section of the configuration file, which
is marked in the default configuration as follows. Chapter 6 of the
specification describes the overall structure of the configuration file.

######################################################################
#                      REWRITE CONFIGURATION                         #
######################################################################


# There are no rewriting specifications in this default configuration file.

begin rewrite

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}}