On Tue, 23 Jan 2024, Wietse Venema via Postfix-users wrote:
Barbara M. via Postfix-users:
Jan 23 00:11:34 auth postfix/smtpd[188544]: NOQUEUE: reject: RCPT from
wp-host1.xyz.com[4.3.2.1]: 554 5.7.1 <f...@dom-redir.it>: Relay
access denied; from=<r...@wp-host1.xyz.com> to=<f...@dom-redir.it>
proto=ESMTP helo=<wp-host1.xyz.com>
It this is this an INTERNAL DESTINATION, add it to main.cf:relay_domains.
relay_domains = dom-redir.it, ...
If this is an EXTERNAL DESTINATION, authorize the client with mynetworks
or with SASL authentication.
smtpd_recipient_restrictions =
permit_mynetworks, permit_sasl_authenticated, ...
Sorry for my poor english. Hope I can be understood.
As I told in my post, I want that if anyone send mail to *@dom-redir.it,
his SMTP server, find this server as MX for the dom-redir.it domain (DNS
already configured obviously), this server receive the mail and relay it
to the real destination server (that can be considered EXTERNAL).
In this situation I can't use client authorization (that is already
configured and working, with the usuals mynetworks and SASL
authentication).
Just for test I have tried to add the domain in main.cf as:
relay_domains = dom-redir.it, ...
but as I wrote, I already have tried before with the usual:
relay_domains = hash:/etc/postfix/relay_domains
where in /etc/postfix/relay_domains I have:
dom-redir.it OK
. . .
That is the same.
But still have the "Relay access denied" answer.
Tried to compare with other similar servers (not same OS or Postfix
version), but I can't find what I am doing wrong. I suppose it is a
parameter somewhere.
Thanks, B
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org