Score:0

Authorize an external SMTP server to send emails for a given domain

gl flag

We're using a postfix server to send and receive mails for a domain (let's say example.org) with configured DKIM and SPF and users authenticated via SASL

We decided to externalize an application that needs to send @exemple.org emails via an external smtp server for 5 known email addresses.

No problem to send emails to all SMTP servers except to our one cause the senders email addresses are considered as internal ones and need to be authenticated to send emails to our postfix server.

Is there a way to configure postfix to allow the external server IP address to send emails to our server for the 5 known addresses only?

It seems possible to manage that with smtpd_recipient_restrictions/check_recipient_access option but is it possible to specify the 5 email addresses with the external server's IP only??

All examples we found specified

[email protected] permit_mynetworks,reject

We think it's too risky to allow the external server IP address to send for all our domain.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.