Auteur: W B Hacker Date: À: exim users Sujet: Re: [exim] canonical local_part from an address
WJCarpenter wrote: > By chance, I noticed that an arbitrary string representing an address
> (for example, items in $recipients) contains something like
> "iamquoted"@???, then the ${local_part:} string operator
> preserves the quotes. Obviously, exim knows how to get rid of the
> quotes when it does lookups and such, but I couldn't find an easy way to
> get a canonical local_part myself using available string operators. (I
> know I could using matching and such to peel off the leading and
> trailing double quotes, but there are lots more RFC-822, et seq, quoting
> possibilities.)
>
> Have I overlooked it or is there no built-in operator for this?
>
>
I've had a look at some archives here, find that any quoted portions
have always been kept cleanly separated from the 'proper'
user@???, (often, but not always, in < angle brackets>).
So either Exim has more clever parsing than is visible, OR does not need it.
Might you be looking at an artificial situation w/r what Exim takes
onboard? IE - entries in a table of recipients that are not themselves
in correct format?