[Exim] rewrites and $0

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Edwards
Date:  
À: exim-users
Sujet: [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.