I'm currently setting up Zimbra and have discovered that the maximum size of the signature block is 1024 characters. Is there any way to change this as I require one and a half times that?
I'm currently setting up Zimbra and have discovered that the maximum size of the signature block is 1024 characters. Is there any way to change this as I require one and a half times that?
There are two files you need to edit. Change 1024 to whatever you want, like 2048.
You'll need to stop/restart Zimbra (specifically, openldap and tomcat).
These files get updated/replaced on upgrades, so you'll have to make the change again.Code:/opt/zimbra/openldap/etc/openldap/schema/zimbra.schema attributetype ( zimbraPrefMailSignature NAME ( 'zimbraPrefMailSignature' ) DESC 'mail signature' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch SINGLE-VALUE) /opt/zimbra/conf/attrs/zimbra-attrs.xml <attr id="17" name="zimbraPrefMailSignature" type="string" max="1024" cardinality="single" optionalIn="account,identity" flags="domainAdminModifiable"> <desc>mail signature</desc> </attr>
Schemers,
I tried what you suggested but I am still unable to enter a signature larger than 1024 characters. When I do attempt to do so, I get the following message:
"Signature must be at most 1024 characters"
I am trialling the open source version of Zimbra and this is the last stumbling block before I can move to user testing.
Last edited by StuartDuncan; 11-26-2006 at 02:41 PM.
looks like the client has a hardcoded check in ZmPref.js. You'd have to change that as well. That requires unpacking some gzip'd files, editing, repacking. Searching the forums should result in detailed instructions on doing that.
Ultimately the checks need to be removed from the client, and a better error message returned by the server so the client can display what failed when it tries to modify those prefs.
I couldn't find any posts regarding unpacking files or ZmPref.js but I did find the ZmPref.js on my system (Which was not compressed) under the /opt/zimbra/apache_tomcat-5.5.15/Webapps/zimbra/js/zimbraMail/prefs/model directory. I modified the ZmPref.MAX_LENGTH[ZmSetting.SIGNATURE] entry but am still not getting any luck.
Last edited by StuartDuncan; 11-26-2006 at 07:09 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)