On 24/05/2019 15:57, necktwi via Exim-users wrote: > When I try to send mail to [email protected] I get the error: > > May 24 05:29:33 host1 exim[6011]: 2019-05-24 10:59:33 H=([192.168.1.1]) > [202.153.45.34] X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no > F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted > May 24 05:29:33 host1 exim[6011]: 2019-05-24 10:59:33 H=([192.168.1.1]) > [202.153.45.34] X=TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256 CV=no > F=<[email protected]> rejected RCPT <[email protected]>: relay not permitted > > I also tried setting: > > hostlist relay_from_hosts = 127.0.0.1 : localhost : MAIN_RELAY_NETS > > and restarted exim server but it gave the same error.
You need to decide what your trust model is. It looks like you're trying to trust some given IPs as being permitted to relay - but we don't know either what that "MAIN_RELAY_NETS" is defined as nor how you're using that hostlist. -- Cheers, Jeremy -- ## List details at https://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
