Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-17-2011, 02:24 PM
Elite Member
 
Posts: 376
Default [SOLVED] Mandatory Domain Signature assistance please

I'm a bit slow on the implementation here, but back in Nov '09 the zimbraDomainMandatoryMailSignatureEnabled options went live. The instructions are easy enough to follow.

Quote:
In order to create a system wide mandatory signature the following steps can be
taken.
zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
zmprov mcf zimbraDomainMandatoryMailSignatureText "some text"
zmprov mcf zimbraDomainMandatoryMailSignatureHTML "<html><body>some html
text</body></html>"

Restart amavis to apply the configuration and write out the global signature
files used by altermime.
After a quick "zmprov gd domain.com" as the Zimbra user I got the following.

Code:
zimbraDomainMandatoryMailSignatureEnabled: TRUE
zimbraDomainMandatoryMailSignatureHTML: <html><body>test disclaimer html</body></html>
zimbraDomainMandatoryMailSignatureText: test disclaimer text
I assumed this should indicate that the disclaimer text would be added to all further emails. The system wide signature shoud be tagged on below my normal user signature I would assume as well.

It isn't. I get the user sig, but nothing else added. Any ideas as to what might be wrong? I have restarted amavisd, I have used zmcontrol restart to reload the whole of Zimbra, but I have not restarted the physical server.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #2 (permalink)  
Old 04-14-2011, 08:43 AM
gra gra is offline
Intermediate Member
 
Posts: 19
Default

did you manage to get the disclaimer to attach itself to all emails?
Reply With Quote
  #3 (permalink)  
Old 04-26-2011, 08:26 AM
Elite Member
 
Posts: 376
Default

I never did. I've had issues getting it to work and haven't looked at it recently. I'll be upgrading to 7.1 soon and will probably attempt to make it work after that.
__________________
Culley
Mail | Dell 2950III | 2x Quad Core 5420 | 8gb RAM | 6x 146gb SAS RAID 0+1 | Red Hat 5.3 | Zimbra 6.0.10 Network Edition
Test | VMware ESXi Whitebox | Phenom II Black 3.2ghz | 12gb RAM | 6x 1tb SATA RAID 0+1 | CentOS 5.4 | FOSS, Not in use now
Reply With Quote
  #4 (permalink)  
Old 05-03-2011, 06:55 AM
Active Member
 
Posts: 26
Default As the Zimbra user

Quote:
Originally Posted by quietas View Post

After a quick "zmprov gd domain.com" as the Zimbra user I got the following.
I have setup zimbraDomainmandatoryMailSignature correctly... but when I try to restart Amavis to apply the configuration, it says it must be ran as a Zimbra user..
How do I run this as a Zimbra user? I thought root would work...
Reply With Quote
  #5 (permalink)  
Old 05-03-2011, 06:56 AM
gra gra is offline
Intermediate Member
 
Posts: 19
Default

su - zimbra

that should log you on as a zimbra user from root
Reply With Quote
  #6 (permalink)  
Old 05-03-2011, 07:06 AM
gra gra is offline
Intermediate Member
 
Posts: 19
Default

could you specify which Zimbra version you got the domain disclaimer working on? and the steps done to get it working?

zmcontrol -v

will display your zimbra cs version.

thanks!
Reply With Quote
  #7 (permalink)  
Old 05-03-2011, 07:18 AM
Active Member
 
Posts: 26
Default

Quote:
Originally Posted by gra View Post
could you specify which Zimbra version you got the domain disclaimer working on? and the steps done to get it working?

zmcontrol -v

will display your zimbra cs version.

thanks!
http://www.zimbra.com/forums/adminis...tml#post216377 - Shows a screen shot of what I did.. I finally got it to accept when I removed the quotation marks.

The Zimbra version should be: Client Version: 6.0.6_GA_2330.RHEL5_64 Client Release: 20100505193959 Build Date: 20100505-1951

Again, I'm new to Zimbra but definitely put in my hours learning.. In regards to zmcontrol.. I see that in opt/zimbra/bin/, but the CLI Utility doesn't pull up in the terminal like zmprov did. My command knowledge is short but I have all the commands and descriptions.. it's just the implementation of them that I need to learn.

Thanks a million
Reply With Quote
  #8 (permalink)  
Old 05-05-2011, 08:37 AM
Active Member
 
Posts: 26
Default Spaces

Quote:
Originally Posted by DEpple View Post
I have setup zimbraDomainmandatoryMailSignature correctly... but when I try to restart Amavis to apply the configuration, it says it must be ran as a Zimbra user..
How do I run this as a Zimbra user? I thought root would work...
Life is about the details. For anyone who comes across this thread.. from the terminal type the command as shown su (space) - (space) zimbra:
su - zimbra

From one newb to another.. hope this helps someone.
Reply With Quote
  #9 (permalink)  
Old 05-06-2011, 01:09 AM
gra gra is offline
Intermediate Member
 
Posts: 19
Default

has anyone managed to get this working on ZCS v7?
Reply With Quote
  #10 (permalink)  
Old 06-10-2011, 03:09 AM
gra gra is offline
Intermediate Member
 
Posts: 19
Default Global Domain Disclaimer / Signature Configuration

My Zimbra Configuration
Release 7.1.1_GA_3196.RHEL5_64_20110527001604 CentOS5_64 NETWORK edition.

Requirements
Altermime
#altermime installed by default in ZCS v7 but read for how it works / installs
Adding a disclaimer (altermime) or footer - Zimbra :: Wiki

Instructions on getting it to work
#create disclaimer file in zimbra command line interface
zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
zmprov mcf zimbraDomainMandatoryMailSignatureText "some text"
zmprov mcf zimbraDomainMandatoryMailSignatureHTML "<html><body>some html text</body>/html>"
#restart mail server
zmcontrol restart
#create disclaimer files (if not created by zimbra, which was the issue in my case)
vim /opt/zimbra/data/altermime/global-default.txt
#example file data
some text
#create html disclaimer file
vim /opt/zimbra/data/altermime/global-default.html
#example file data
<html><body>some html text</body>/html>

Once these files were created the domain signature / disclaimer was being appended to all email messages.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.