Allowing SMTP relay with Postfix for single IP address
I need help. I want to allow relaying for one IP address on one of my servers running Postfix.
I know I need to edit the main.cf file, but I'm not certain which combination if settings I need to alter. Right now the server is only doing web hosting, no mail services, except for forms on web pages. So Postfix is handling the outgoing mail for those circumstances. What I need to do is allow a single external server to have access to the Postfix MTA to send mail through it. This is another server I own in a different data center.
What do I need to configure to allow this? I'm green at this topic and need some direction.
That's a good read. I did learn some things and it seems pretty clear. I'm still having trouble though. I'm trying to get a script from one server to send mail using SMTP on the server with Postfix. I'm having issues still. If you are available for some paid assistance, please contact me.
Postfix seems like its has a pretty straightforward configuration file, which is really nice to see.