Autor: Jeremy Harris Data: A: exim-users Assumpte: Re: [exim] relay not permitted error
On 24/05/2019 15:57, necktwi via Exim-users wrote: > When I try to send mail to myfriend@??? 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=<me@???> rejected RCPT <myfriend@???>: 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=<me@???> rejected RCPT <myfriend@???>: 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.