Re: [Exim] MYSQL: no data found

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: David Saez
Fecha:  
A: Nico Erfurth
Cc: exim-users
Asunto: Re: [Exim] MYSQL: no data found
Hi !!

> > I have some entries like this on my logs:
> >
> > 2003-05-17 23:35:58 19H9LC-00044r-M6 H=su00fw01-1.ufjbank.co.jp
> > [211.120.52.199] F=<root@???> temporarily rejected
> > after DATA: MYSQL: no data found


I only use ${domain:$h_from:}, but i just realized tha both queries
are similar so in that case it has little sense to know exactly which
one is givin no data.

Nevertheless I do not understand why exim is logging that, the queries
are used on a 'condition' statment like this:

condition = ${lookup mysql{MYSQL_LDOMAIN}{yes}{no}}

where MYSQL_LDOMAIN is a SELECT DISTINCT ... query. This query is
working fine for all incoming messages except for some messages that
follow a common pattern:

2003-05-18 11:34:05 19HKY9-00062Z-KO H=dns.sws.co.jp [202.15.134.252]
F=<root@???
o.jp> temporarily rejected after DATA: MYSQL: no data found
2003-05-18 11:35:56 19HKZw-00063Y-HM H=su00fw01-1.ufjbank.co.jp
[211.120.52.199] F=<root@su
e10007.sanwabank.co.jp> temporarily rejected after DATA: MYSQL: no data
found
2003-05-18 11:55:38 19HKt0-0006X6-JF H=su00fw01-2.ufjbank.co.jp
[211.120.52.200] F=<root@su
e10007.sanwabank.co.jp> temporarily rejected after DATA: MYSQL: no data
found

I have a lot more of log entries like this ones, always comming from the
same three ip addresses, aparently from japanese hosts and allways with
F=<root@???> Any other message from any other host or
sender
domains does not make exim log 'no data found' Of course I ensured that
the
query has been properly quoted .... I will try to make mysql log the
queries
and find what is exim asking to mysql but it's a bit complicated as the
mysql server receives lots of queries per second.

--
Thanx & best regards ...

Why do they put Braille dots on the keypad of the drive-up ATM?

----------------------------------------------------------------
   David Saez Padros                http://www.ols.es
   On-Line Services 2000 S.L.       e-mail  david@???
   Pintor Vayreda 1                 telf    +34 902 50 29 75
   08184 Palau-Solita i Plegamans   movil   +34 670 35 27 53
----------------------------------------------------------------