Postfix Errors

i have installed virtualMin GPL in my Mac OSX 10.14.6. But it is not sending mail. The mails are getting queued with the error:
connect to[]:10024: Connection refused
I have googled about this error and find out the amavis service run on the port 10024. i have used netstat command to find out the active ports. The port 10024 is not in the list. So i tried commenting 10024 port in postfix/ file then it returns error:
Address Resolver Failure. Can you help me with what’s the problem. Any Help will be much appreciated.
I can also attach my postfix file if you want…

Forum guide / rules?

So a local lan installation then?

Try to search with that text also then.

And why or why not port 25 on server itself with mail mta