I use ZCS 7.2 on CentOS 6.2. Until now I have sent all emails through smtp server of our provider. I have used this wiki Outgoing SMTP Authentication - Zimbra :: Wiki to configure it. On the other hand, all the incoming mails go directly to my impap server on zimbra. However, I have found out that error messages gateher on the account that I used the relay_password file.

Now I would like to change it so that my zimbra server would be also smtp server that all emails would not go through my providers smtp. At the same time I need to secure my server not to be used as relay and therefore all outgoing emails would be authenticated.

Please can you help me how to remove that configuration of the relay_password file and configure zimbra the way that all my outgoing emails would not go through my providers smtp and be authenticated?

Thank you very much