Autor: Adam D. Barratt Data: A: exim-users CC: Axel Rau Assumpte: Re: [exim] single quote in MAIL From: not refused by Exim
On Wednesday, February 02, 2005 8:40 AM,Axel Rau <Axel.Rau@???> wrote:
> I just found a log entry, where $sender_address contained something
> like de'an@??? in acl_check_mail.
> Obviously MySQL rejected my query containing 'de'an@???'
>
> Is my assumption, Exim 4.41 checks sender addresses for valid 2822
> syntax before putting them into $sender_address, wrong?
No. The above *is* a valid address according to RFC2822 (the base component
of a local-part is an atext - see sections 3.4.1 and 3.2.4).
> Should I run it myself through ${address:<string>} before doing the query?
The fine manual suggests ${quote_mysql:<string>}(section 11.5).