[Exim] rewrites and $0

Top Page
Delete this message
Reply to this message
Author: Chris Edwards
Date:  
To: exim-users
Subject: [Exim] rewrites and $0
I'm confused over the meaning of $0 in rewriting replacements. I thought
it was the full incoming address. But here it just seems to be the
local_part.

The v4 rewrite manual chapter gives example: "if the pattern

*queen@*.fict.example

is matched against the address:

hearts-queen@???

then:

$0 = hearts-queen@???

But for me in v4 $0 is just "hearts-queen". In v3 it was indeed the full
address.

I'm sure I'm missing something basic, but too stupid to see what :-(

Chris

--
Chris Edwards                   University of Glasgow Computing Service,
C.Edwards@???    Glasgow, Scotland. Phone: +44 141 330 4892.