it seems that if the relay restrictions define a network restriction, i ve
to indicate a network in main.cf, otherwise it will fail.
i did it, and it is working now.
thanks.

Le jeu. 7 sept. 2023 à 22:14, Noel Jones via Postfix-users <
[email protected]> a écrit :

> On 9/7/2023 2:31 PM, Patrice Go via Postfix-users wrote:
> > Hi,
> >
> > In fact i ve a server www.domain.org <http://www.domain.org> which
> > send emails (from PHP www-data) to an external email [email protected]
> > <mailto:[email protected]> by the mean of a mail relay mail.domain.org
> > <http://mail.domain.org>. the message from www is transmitted to
> > mail, but i don't understand what happen, the message is rejected
> > with a relay access denied.
> > i have this log (from mail.domain.org <http://mail.domain.org>):
> > NOQUEUE: reject: RCPT from unknown[xxx.22.xx.1x]: 554 5.7.1
> > <[email protected] <mailto:[email protected]>>: Relay access denied;
> > from=<[email protected] <mailto:[email protected]>>
> > to=<[email protected] <mailto:[email protected]>> proto=ESMTP
> > helo=<www.domain.org <http://www.domain.org>>
> >
> > you can see the postconf -n :
> > https://paste.debian.net/1291288/ <https://paste.debian.net/1291288/>
> >
> > i tested without check_sender_access, but the result is the same.
> >
> > is there something i am missing ?
> >
>
>
> To allow relay, the client must either be listed in mynetworks, or
> authenticate via SASL or an approved TLS certificate.
>
> Please see
> http://www.postfix.org/BASIC_CONFIGURATION_README.html#relay_from
>
> and also possibly
> http://www.postfix.org/SASL_README.html
> http://www.postfix.org/TLS_README.html
>
>
>
>    -- Noel Jones
> _______________________________________________
> Postfix-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
Postfix-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to