IP address to relay only

I have a server that sends email…however it does not have a login that can associate with it. SASL is running and that is doing great with the normal mail users.

So how would I set the Postfix to allow me to relay mail just for this one ip address? While not changing any of the other settings i have…

Thanks in advance for your help.

ben

Hi Ben,

I believe you can do what you’re after by logging into Virtualmin, then:

  • Click Webmin on the top-left
  • Choose Servers
  • Click "Postfix Mail Server"
  • Click General Options

About 2/3 of the way down the page, you’ll see an option labeled “Local networks”. Adding the machine’s IP to that will add it to Postfix’s “mynetworks”, making it a trusted system and allowing it to relay email through your server.
-Eric