Dur dur, voil� la solution. Les variables EXIM ne doivent pas d�passer 23 caract�res de long !
> Bonjour, > > Quelqu'un aurait-il d�j� eu ce probl�me ? Je n'ai rien trouv� dans les news. > > J'ai sur une machine patato, un exim 3.12-10 compil� avec de support de > mysql 3.22.30-4. > > Chaque fois que j'utilise une commande sql dans exim, � la fin de ma > commande sql le syst�me ajoute des caract�res (INS dans mon exemple). Ceci > provoque bien s�r une erreur de syntaxe sql. > > J'envoi : > > MYSQL_SEARCH_RELAY_DOMAINS = SELECT rd_domains FROM relay_domains WHERE > rd_domains='$key' > > relay_domains = "mysql;MYSQL_SEARCH_RELAY_DOMAINS" > > Et le syst�me ajoute un INS � la fin de la requ�te. > > J'ai une autre machine avec la m�me config (et le m�me binaire d'exim aussi) > et cela marche sans probl�me. J'ai r�install� mysql, exim, etc. Cela ne > change rien. > > Morceau du log via -d9 : > ------------------------------ > SMTP<< RCPT TO:<[EMAIL PROTECTED]> > leclerc-stephane.nom.fr in local_domains? no (end of list) > search_open: mysql "NULL" > search_find: file="NULL" > key="SELECT rd_domains FROM relay_domains WHERE > rd_domains='leclerc-stephane.nom.fr'INS" partial=-1 > LRU list: > internal_search_find: file="NULL" > type=mysql key="SELECT rd_domains FROM relay_domains WHERE > rd_domains='leclerc-stephane.nom.fr'INS" > database lookup required for SELECT rd_domains FROM relay_domains WHERE > rd_domains='leclerc-stephane.nom.fr'INS > MYSQL query: SELECT rd_domains FROM relay_domains WHERE > rd_domains='leclerc-stephane.nom.fr'INS > MYSQL new connection: host=localhost port=0 database=antispam user=antispam > password=xxxx > MYSQL: query failed: You have an error in your SQL syntax near 'INS' at line > 1 > > lookup deferred > LOG: 0 MAIN PANIC DIE > lookup of "leclerc-stephane.nom.fr" in "mysql;SELECT rd_domains FROM > relay_domains WHERE rd_domains='$key'INS" failed to complete > 421 Unexpected failure, please try later > SMTP<< QUIT > ------------------------------ > > .......................................................... > . Linux - Debian - php4 - Apache - MySQL - Infogerance . > . email: [EMAIL PROTECTED] - http://www.actionweb.fr . > . Tel: (0)141 906 100 - Fax: (0)141 906 101 . > .......................................................... > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > .......................................................... . Linux - Debian - php4 - Apache - MySQL - Infogerance . . email: [EMAIL PROTECTED] - http://www.actionweb.fr . . Tel: (0)141 906 100 - Fax: (0)141 906 101 . ..........................................................

