Due to having residential internet service, I use a hassle-free SMTP service to receive mail, called ghetosmtp. I have set up my domain to route all mail sent to my domain through that server. The server in turn, communicates with my inhouse mail server to deliver the mail.
This works on a mail server in a standalone VPS machine I have. However, the mailserver docker install rejects the email as follows:
NOQUEUE: reject: RCPT from in1.ghettosmtp.com[104.237.130.186]: 554 5.7.1 <in1.ghettosmtp.com[104.237.130.186]>: Client host rejected: Access denied; from=<******@*****> to=<****@******> proto=ESMTP helo=<in1.ghettosmtp.com>
I have added the IP 104.237.130.186 to my list of RELAY_NETWORKS. However, this seems to have no effect, even after making sure the IP appears in /etc/postfix/main.cf.
I have been reading that this can be fixed by commenting out the line:
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
in /etc/postfix/master.cf. However, there seems to be no override functionality for items in master.cf, only for main.cf
Anyone have any idea how overcome this issue?
Due to having residential internet service, I use a hassle-free SMTP service to receive mail, called ghetosmtp. I have set up my domain to route all mail sent to my domain through that server. The server in turn, communicates with my inhouse mail server to deliver the mail.
This works on a mail server in a standalone VPS machine I have. However, the mailserver docker install rejects the email as follows:
I have added the IP
104.237.130.186to my list of RELAY_NETWORKS. However, this seems to have no effect, even after making sure the IP appears in /etc/postfix/main.cf.I have been reading that this can be fixed by commenting out the line:
in
/etc/postfix/master.cf. However, there seems to be no override functionality for items inmaster.cf, only formain.cfAnyone have any idea how overcome this issue?