In exim 3 I used
relay_domains = mysql;MYSQL_REL_DOMAIN
host_accept_relay = LOCAL_DOMAINS : \
mysql;MYSQL_REL_IP : \
mysql;MYSQL_REL_HOST
sender_address_relay = LOCAL_DOMAINS : \
mysql;MYSQL_REL_IP : \
mysql;MYSQL_REL_NET
relay_match_host_or_sender = yes
to check who is allowed to send over my mailserver.
Whats about exim 4 with acl or routers?
I do not know where to start with permit relaying.
Can someone show me the direction.
I hope so.
Karl-Heinz