> You could just use an md5 hash of the addresses. Ie,
>
> $sender_address
>
> Becomes:
>
> ${md5:$sender_address}
I don't like this. You can no longer look at the directory to see all
the grey listed entries.
> Alternatively, if you really do just want to replace all non
> letter/number/@ chars with underscores, wrap it like so:
>
> ${sg{$sender_address}...@a-za-z0-9]}{_}}
>
> For example:
>
> m...@haven:~$ sudo exim4 -be
> '${sg{"foo-b../ar"@wibble.com}...@a-za-z0-9]}{_}}'
> _foo_b___...@wibble_com
> m...@haven:~$
Thats exactly what I want. Lena, can you implement it that way?
Matt
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/