Enabling mail relay from one additional ip only

Hello,

how can I enable mail-relay from one additional ip ?

I have an Exchange Server which has to send some mails through the virtualmin server.
The send connector connects to the virtualmin server but I only get this error message: Relay access denied

How can I allow relay access for the ip of the exchange server ?

Howdy,

One way to do that would be to edit /etc/postfix/main.cf, and to add your Exchange server’s IP address to the “mynetworks” line (and then restart Postfix).

That tells Postfix that the IP should be completely trusted.

-Eric