Skip to content
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
This repository was archived by the owner on Jul 1, 2021. It is now read-only.

Override postfix master configuration #297

@bkraul

Description

@bkraul

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions