Do for j in `grep -v '#' distributionlist_members/$i.txt Just after modifying templates Make sure you rebuild the people either from cli or by chaining template in Vesta CP Future action is usually to secure your zimbra server. You need to install ssl certificates and firewall with your new zimbra server. https://www.hostscheap.com/letsencrypt-certificate-install-service