Re: [exim] single quote in MAIL From: not refused by Exim

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Adam D. Barratt
Date:  
À: exim-users
CC: Axel Rau
Sujet: 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).

hth

Adam