Re: [exim] ${domain:$recipients}}

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Mike Cardwell
Date:  
À: exim-users
Sujet: Re: [exim] ${domain:$recipients}}
* on the Tue, Jan 14, 2014 at 11:43:04AM +0000, Jeremy Harris wrote:

>> exim -be '${domain:${extract{-1}{,}{$recipients}}}'
>
> Fails when the last recipient includes a comma in their name...
> OK, not common. But not bulletproof either.


$recipients is based on the RCPT envelopes and doesn't contain any
names. Looks bulletproof to me.

-- 
Mike Cardwell  https://grepular.com/     http://cardwellit.com/
OpenPGP Key    35BC AF1D 3AA2 1F84 3DC3  B0CF 70A5 F512 0018 461F
XMPP OTR Key   8924 B06A 7917 AAF3 DBB1  BF1B 295C 3C78 3EF1 46B4