Hi. I'm trying to allow smtp relay for one ip address. I've edited the main.cf file in /opt/zimbra/postfix/conf. Once i add the ip to mynetworks = and restart postfix, the zimbra webmail stops functioning. if i remove the mynetworks line from main.cf, the webmail works again.
Reading the forums, i used the following post as examples.
SMTP relay for localhost and RFC1918 subnets smtp access to network
I tried the zmprov mcf zimbraMtaMyNetworks command which also stopped the webmail from functioning. I see the edit it makes in main.cf but when i remove the edit and restart postfix, the mynetworks edit reappears in main.cf.
So my question is two fold, 1. How do i undo my zmprov mcf zimbraMtaMyNetworks command, and 2. how can i allow relay from one public ip while keeping webmail functionality? Also, is it necessary to include the netmask with the ip, or can i just specify a single ip address? Thank you for any assistance.