Lähettäjä: Torsten Mueller Päiväys: Vastaanottaja: Svetoslav Alexandroff Kopio: exim-users Aihe: Re: [Exim] exim 3.22 with MySQL patch and relay control
Hey,
did you modify
host_accept_relay = localhost:mysql;MYSQL_RELAY
where MYSQL_RELAY is:
...
MYSQL_RELAY = SELECT ip FROM relay_ip WHERE
ip="${sender_host_address}" AND DATE_SUB(NOW(), INTERVAL
RELAY_TIMEOUT) < ts
...
(or similar *g*)
in my config i use pop before smtp
if you use "static" hosts without a timeout it could be (not
testet):
MYSQL_RELAY = SELECT ip FROM relay_ip WHERE
ip="${sender_host_address}"
Greetings Torsten
Svetoslav Alexandroff schrieb: >
> Hello,
>
> My system is running Debian 2.2. I recomplied exim 3.22 with MySQL virtual
> domain support and I also added options in the exim.conf file for relay
> control using MySQL.
>
> The problem is that exim is NOT checking if a host is permitted to relay or
> not, it accepts mail from everyone. I monitored MySQL's log file and there ...