RE: [Exim] Re: Mail relay problems

Pàgina inicial
Delete this message
Reply to this message
Autor: Andy Coy
Data:  
A: exim
Assumpte: RE: [Exim] Re: Mail relay problems


Andy,

You say you have this commented out in your config file:

> #host_accept_relay = localhost:212.1.128.0/19:mysql;MYSQL_RELAY

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Yes but if you look at the line above I have the same but without the sql
bit.

> And /var/log/messages (FreeBSD Mainlog).
>
> Jun 7 19:14:08 post popper[61072]: Client at "80.40.0.178" resolves to an
> unknown host name "ppp-5-178.london-b-cvx-1.access.as9105.com"
> Jun 7 19:14:33 post popper[61073]: Client at "80.40.0.178" resolves to an
> unknown host name "ppp-5-178.london-b-cvx-1.access.as9105.com"
> Jun 7 19:14:37 post popper[61074]: Client at "80.40.0.178" resolves to an
> unknown host name "ppp-5-178.london-b-cvx-1.access.as9105.com"


That doesn't look like Exim error messages, incidentally.

I know that, but it looks like a reverse DNS error, I was woundering if that
was the problem.

The debug output you sent clearly contains a lookup attempt in a MySQL
database:

> SMTP<< RCPT TO: <andy.coy@???>
> search_open: mysql "NULL"
> search_find: file="NULL"
> key="SELECT DISTINCT domain FROM mail WHERE domain='virgin.net'"
> partial=-1
> LRU list:
> internal_search_find: file="NULL"
> type=mysql key="SELECT DISTINCT domain FROM mail WHERE
> domain='virgin.net'"
> database lookup required for SELECT DISTINCT domain FROM mail WHERE
> domain='virgin.net'
> MYSQL query: SELECT DISTINCT domain FROM mail WHERE domain='virgin.net'
> MYSQL new connection: host=localhost port=3306 database=**** user=*****
> password=*****
> MYSQL: no data found
> lookup failed


... which fails. Could this be your problem?

I don't believe so as this worked for 2 1/2 years b4 the new IP's came
online. Also it continues to go through with non sql checks b4 relay is
denied.

Did you remember to restart Exim after you edited exim.conf?

Yes each time I edited it.

--

Juha


--

## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
details at http://www.exim.org/ ##