outbound relay with auth login instead of IP.

Questions and answers about how to do stuff
Post Reply
mattch
Posts: 50
Joined: 28 Mar 2018 22:26

outbound relay with auth login instead of IP.

Post by mattch »

Hello Folks,

Is there a way to allow outbound relay based on a sasl auth user login in postfix instead of whitelisting the ip address in menu 7) Mail settings > Outbound mail relay menu?

I had to setup sasl to allow the application (cloud :snooty: ) to deliver emails to me, tls/username/pass.. which is working. The cloud app also need to relay email through me EFA, like from my domain to gmail etc. It seems like the cloud app IP address will change from time to time which is why im barking up this tree. Of course, I'm open to suggestions if there is a better way.

I'm using the "network_sender_access / internal_sender_access / external_sender_access" found throughout the forum. I suppose I can drop that if needed but it didn't seem to change anything when I tested it off. Emails are going to exchange, mailscanner ldap.

The error that comes up is:

Code: Select all

550 5.1.1 : Recipient address rejected: User unknown in relay recipient table
:pray:
Post Reply