Difference between revisions of "Steps to configure per domain disclaimer on ZCS 8.5 and higher versions"

Line 3: Line 3:
 
<div class="col-md-12 ibox-content">
 
<div class="col-md-12 ibox-content">
 
=Steps to enable domain discliamer in ZCS 8.5 and higher versions=
 
=Steps to enable domain discliamer in ZCS 8.5 and higher versions=
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|}}
+
<hr>
 +
{{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}}
  
== Steps to enable domain discliamer in ZCS 8.5 and higher versions ==
+
== Steps to enable discliamer for a domain ==
 
'''1).'''    Enabled disclaimer feature on global configuration:-
 
'''1).'''    Enabled disclaimer feature on global configuration:-
 
  zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
 
  zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
  
 
'''2).'''    Add plain text and HTML disclaimer to the domain:-  
 
'''2).'''    Add plain text and HTML disclaimer to the domain:-  
 +
<pre>
 
  zmprov md DOMAIN.COM zimbraAmavisDomainDisclaimerText "text disclamer"   
 
  zmprov md DOMAIN.COM zimbraAmavisDomainDisclaimerText "text disclamer"   
 
  zmprov md DOMAIN.COM zimbraAmavisDomainDisclaimerHTML "<html><body><h1>HTML Disclaimer</h1><br> <h1>User 1</h1><br>phone number here</body></html>"  
 
  zmprov md DOMAIN.COM zimbraAmavisDomainDisclaimerHTML "<html><body><h1>HTML Disclaimer</h1><br> <h1>User 1</h1><br>phone number here</body></html>"  
 +
</pre>
  
 
'''3).'''    After adding disclaimer to the LDAP server, enable/generate domain disclaimer files for altermime on MTA server:-  
 
'''3).'''    After adding disclaimer to the LDAP server, enable/generate domain disclaimer files for altermime on MTA server:-  
Line 19: Line 22:
 
  ./libexec/zmaltermimeconfig
 
  ./libexec/zmaltermimeconfig
  
==Steps to disable discalimer from a domain==
+
==Steps to disable disclaimer from a domain==
 
'''1).'''    Run on first MTA server as zimbra user:-
 
'''1).'''    Run on first MTA server as zimbra user:-
 
  ./libexec/zmaltermimeconfig -d DOMAIN.COM
 
  ./libexec/zmaltermimeconfig -d DOMAIN.COM
Line 26: Line 29:
 
  ./libexec/zmaltermimeconfig
 
  ./libexec/zmaltermimeconfig
  
 +
<br>
 
'''2).'''  Completely disable disclaimer feature:-
 
'''2).'''  Completely disable disclaimer feature:-
 
  zmprov mcf zimbraDomainMandatoryMailSignatureEnabled FALSE   
 
  zmprov mcf zimbraDomainMandatoryMailSignatureEnabled FALSE   
Line 36: Line 40:
  
 
Submitted by:  Heera Singh Koranga
 
Submitted by:  Heera Singh Koranga
{{Article Footer|ZCS 8.8, 8.7, 8.6|8/8/2017}}
+
{{Article Footer|ZCS 8.8, 8.7, 8.6, 8.5|8/8/2017}}
 
{{NeedSME|Heera|SME2|Copyeditor}}
 
{{NeedSME|Heera|SME2|Copyeditor}}
 
[[Category:Troubleshooting MTA]]
 
[[Category:Troubleshooting MTA]]

Revision as of 19:46, 21 August 2017

Steps to enable domain discliamer in ZCS 8.5 and higher versions


   KB 23284        Last updated on 2017-08-21  




0.00
(0 votes)

Steps to enable discliamer for a domain

1). Enabled disclaimer feature on global configuration:-

zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE

2). Add plain text and HTML disclaimer to the domain:-

 zmprov md DOMAIN.COM zimbraAmavisDomainDisclaimerText "text disclamer"   
 zmprov md DOMAIN.COM zimbraAmavisDomainDisclaimerHTML "<html><body><h1>HTML Disclaimer</h1><br> <h1>User 1</h1><br>phone number here</body></html>" 

3). After adding disclaimer to the LDAP server, enable/generate domain disclaimer files for altermime on MTA server:-

./libexec/zmaltermimeconfig -e DOMAIN.COM

If multiple MTAs configured in ZCS environment then run below command on remaining MTA servers:-

./libexec/zmaltermimeconfig

Steps to disable disclaimer from a domain

1). Run on first MTA server as zimbra user:-

./libexec/zmaltermimeconfig -d DOMAIN.COM

Run on other MTA servers:-

./libexec/zmaltermimeconfig


2). Completely disable disclaimer feature:-

zmprov mcf zimbraDomainMandatoryMailSignatureEnabled FALSE  
zmprov fc all

Note: Replace DOMAIN.COM with the actual domain name according to your environment.


Submitted by: Heera Singh Koranga

Verified Against: ZCS 8.8, 8.7, 8.6, 8.5 Date Created: 8/8/2017
Article ID: https://wiki.zimbra.com/index.php?title=Steps_to_configure_per_domain_disclaimer_on_ZCS_8.5_and_higher_versions Date Modified: 2017-08-21



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by Heera SME2 Copyeditor Last edit by Heera Singh Koranga
Jump to: navigation, search