Re: [EXIM] using $quote or $original_local_part in smartuser…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Alan Thew
CC: Exim List
Subject: Re: [EXIM] using $quote or $original_local_part in smartuser?
On Wed, 25 Nov 1998, Alan Thew wrote:

> Philip suggested a while ago:
>
>    new_address = ${quote:${local_part}}@???

>
> as the answer to a smartuser issue where quotes were stripped on a local
> part of the form "a*b"@domain
>
> Would using $original_local_part without $quote be better or the same
> here (or worse), given that most $local_part values will be OK?


Worse. A local part that needs quotes but doesn't have them is illegal.
Using quote puts in quotes only if it contains anything other than      
alphamerics, underscore, dot, or hyphen.


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***