Szerző: Juha Saarinen Dátum: Címzett: exim-users, judge Tárgy: [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 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 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.
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?
Did you remember to restart Exim after you edited exim.conf?