Re: [exim] warn set grey file

Top Page
Delete this message
Reply to this message
Author: Matt
Date:  
To: Exim Mailing List
Subject: Re: [exim] warn set grey file
> 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:
>
> mike@haven:~$ sudo exim4 -be
> '${sg{"foo-b../ar"@???}{[^@A-Za-z0-9]}{_}}'
> _foo_b___ar_@wibble_com
> mike@haven:~$


Thats exactly what I want. Lena, can you implement it that way?

Matt