I have setup Postfix but am having trouble with the setup.
Whenever I used to send emails to the server, it would reject saying 'Relaying Denied', so I changed the following in
mynetworks = 0.0.0.0/0 mynetworks_style = subnet
I can now send email and it works, but MX tests say that it is an open relay (obviosly wantusly).
How can I resolve this? I obviously want anybody to be able to email my domain, but I'm unsure of the configuration.
I know I can change the mynetworks, but then doesnt this restrict who CAN email to the server?