digerata
01-14-2009, 10:57 AM
We currently have an application on our grid that runs postfix as an SMTP server. All of our other applications use this for sending emails.
To avoid postfix running as an open relay, I've configured it to only accept authenticated users. This worked fine when we had only two applications on AppLogic. Now that we have grown with dozens of applications, creating accounts for each app is a PITA. And, if you can believe, we have a few apps that don't support authenticated SMTP and thus can't send email!
I've started to look into allowing applications access based on IP range. I added our grid's external IP's to the mynetworks option in postfix. I quickly learned that this doesn't actually work because every sender that connects to postfix has the IP address of our IN appliance: 10.40.46.1. And now I'm stumped.
Does anyone have any ideas how how to make this work?
Thanks!
-Mike
To avoid postfix running as an open relay, I've configured it to only accept authenticated users. This worked fine when we had only two applications on AppLogic. Now that we have grown with dozens of applications, creating accounts for each app is a PITA. And, if you can believe, we have a few apps that don't support authenticated SMTP and thus can't send email!
I've started to look into allowing applications access based on IP range. I added our grid's external IP's to the mynetworks option in postfix. I quickly learned that this doesn't actually work because every sender that connects to postfix has the IP address of our IN appliance: 10.40.46.1. And now I'm stumped.
Does anyone have any ideas how how to make this work?
Thanks!
-Mike