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 < postfix-users@postfix.org> 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 t...@xxxx.net > > <mailto:t...@xxxx.net> 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 > > <t...@xxxxx.net <mailto:t...@xxxxx.net>>: Relay access denied; > > from=<www-d...@domain.org <mailto:www-d...@domain.org>> > > to=<t...@xxxxx.net <mailto:t...@xxxxx.net>> 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 -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org >
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org