Modify Zimbra mail notifications e-mail body templates

Ask questions about your setup or get help installing ZCS server (ZD section below).
Post Reply
Palaza
Posts: 4
Joined: Thu Jul 09, 2015 8:17 am

Modify Zimbra mail notifications e-mail body templates

Post by Palaza »

Hi everyone!
I need to translate in another language the body and the subject of email notifications that Zimbra/Amavis sends automatically when antivirus alerts ([VIRUS]) or banned content alerts ([BANNED]) have been thrown.
I know that there are somewhere some template text files that I can modify but I couldn't find them inside Zimbra home directory (/opt/zimbra).
Could you help me to locate these templates?
I'm running Zimbra 8.6.0.GA.1153 on UBUNTU14.04 x64
Thanks
User avatar
jorgedlcruz
Zimbra Alumni
Zimbra Alumni
Posts: 2782
Joined: Thu May 22, 2014 4:47 pm

Modify Zimbra mail notifications e-mail body templates

Post by jorgedlcruz »

Hi Palaza,

Search inside the file /opt/zimbra/postfix/conf/main.cf for template and you will find some of them, let us know if it's enough.



Best regards
Jorge de la Cruz https://jorgedelacruz.es
Systems Engineer at Veeam Software https://www.veeam.com/
Palaza
Posts: 4
Joined: Thu Jul 09, 2015 8:17 am

Modify Zimbra mail notifications e-mail body templates

Post by Palaza »

Hi Jorge!

Thanks for your reply!

Unfortunately I opened the file you suggested but I found no template strings, just postfix settings and paths.

I also checked if the templates were in external files according to the paths I found in the postfix config but I had no success.

I really don't know where to find them :(



Best regards
7224jobe
Outstanding Member
Outstanding Member
Posts: 283
Joined: Sat Sep 13, 2014 1:55 am
ZCS/ZD Version: 8.8.15_FOSS Patch38

Re: Modify Zimbra mail notifications e-mail body templates

Post by 7224jobe »

If anyone still have this problem, follow the instruction in this wiki page: https://wiki.zimbra.com/wiki/Message_Se ... Over_Quota but keep in mind that in Zimbra 8.7 the path of bounce.cf.default is /opt/zimbra/common/conf/bounce.cf.default , so the commands become:

1 - cp /opt/zimbra/common/conf/bounce.cf.default /opt/zimbra/common/conf/bounce.cf
2 - vim /opt/zimbra/common/conf/bounce.cf
3 - postconf -e bounce_template_file="/opt/zimbra/common/conf/bounce.cf"
4 - zmmtactl reload

Bye
syntaxys
Posts: 26
Joined: Sat Sep 13, 2014 12:06 am

Re: Modify Zimbra mail notifications e-mail body templates

Post by syntaxys »

7224jobe wrote:If anyone still have this problem, follow the instruction in this wiki page: https://wiki.zimbra.com/wiki/Message_Se ... Over_Quota but keep in mind that in Zimbra 8.7 the path of bounce.cf.default is /opt/zimbra/common/conf/bounce.cf.default ...
I do have the same problem. Where are the language templates of Amavis in Zimbra 8.8.6? Usually they're located in /etc/amavis in default installations of Amavis.
That is NOT the bounce configuration of Postfix!
Post Reply