Zimbra - Setting Disclaimer

Setting Disclaimer Footer di Zimbra

cd /opt/zimbra/postfix/conf
zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
zmprov mcf zimbraDomainMandatoryMailSignatureText "`cat disclaimer.txt`"
zmprov mcf zimbraDomainMandatoryMailSignatureHTML "`cat disclaimer.html`"
zmamavisdctl restart

Untuk skip disclaimer ke dalam local domain, tambahkan di /opt/zimbra/amavisd/sbin/amavisd setelah baris no 13443

 else {
      $to_be_mangled = 0  if $r->recip_is_local;
                }

ref: http://www.zimbra.com/forums/administrators/49996-solved-domain-disclaimer-zimbra-7-1-0-a-2.html

updated

Untuk multiple domain footer zimbra 8.5 NE bisa dicoba langkah berikut (untesting di server production) Verified that domain level disclaimer support has been added.

Build: Release 8.5.0.BETA3.2883.UBUNTU12.64 UBUNTU12_64 NETWORK edition.

Steps

  • Create a new domain(e.g. qatest.com), and account(e.g. qa_test2@qatest.com)
  • Enable the use of disclaimers
  • Add disclaimers to the new domain
  • Send email from the account (e.g. qa_test2@qatest.com) in html and plain text format, check emails received with correct HTML disclaimer and plain text disclaimer.

cli:

zimbra@zqa-064:~$ zmprov cd qatest.com
cb9a4846-6df1-4c18-8044-4c1d4c21ccc5
zimbra@zqa-064:~$ zmprov ca qa_test2@qatest.com test123
95d4caf4-c474-4397-83da-aa21de792b6a

zimbra@zqa-064:~$ zmprov -l gaa
qa_test1@zqa-064.eng.vmware.com
qa_test2@qatest.com
    ...

zimbra@zqa-064:~$ zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
zimbra@zqa-064:~$ zmprov gcf zimbraDomainMandatoryMailSignatureEnabled
zimbraDomainMandatoryMailSignatureEnabled: TRUE
zimbra@zqa-064:~$ zmprov md qatest.com zimbraAmavisDomainDisclaimerText "text disclamer" zimbraAmavisDomainDisclaimerHTML "HTML disclaimer"
zimbra@zqa-064:~$ zmprov gd qatest.com zimbraAmavisDomainDisclaimerText "text disclamer" zimbraAmavisDomainDisclaimerHTML "HTML disclaimer"
# name qatest.com
zimbraAmavisDomainDisclaimerHTML: HTML disclaimer
zimbraAmavisDomainDisclaimerText: text disclamer
zimbra@zqa-064:~$ zmprov gd zqa-064.eng.vmware.com zimbraAmavisDomainDisclaimerText "text disclamer" zimbraAmavisDomainDisclaimerHTML "HTML disclaimer"
# name zqa-064.eng.vmware.com


zimbra@zqa-064:~$ ./libexec/zmaltermimeconfig -e qatest.com
Enabled disclaimers for domain: qatest.com
Generating disclaimers for domain qatest.com.

ref: https://bugzilla.zimbra.com/show_bug.cgi?id=41872