View Single Post
  #2 (permalink)  
Old 03-10-2006, 12:53 PM
marcmac marcmac is offline
Zimbra Employee
 
Posts: 2,103
Default

Quote:
Originally Posted by DMRDave
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.
1 - zmprov mcf zimbraMtaMyNetworks ''
2 - postconf mynetworks

Add new.network.ip.range to the end of the return value from the postconf command, and set zimbraMtaMyNetworks to that value
Reply With Quote