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

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 08-09-2007, 09:25 AM
Active Member
 
Posts: 29
Default Apply signature from outside of zimbra.

Hello,
I'm looking for a way to easily give everyone a signature. In my current non-zimbra setup I do the following.

I have a custom script that I run from a shell. This uses company wide settings, and reads a config file for any user specific information.

When the script runs, it creates a signature in HTML format. This then gets copied to a samba share where users unknowingly access it with thunderbird.

A second copy gets moved into a subdirectory in squirrel mail.

The end result is that I have some control over the end users signature. If the company wants to make a slight change to the signature, I can easily apply it to everyone, and it doesn't matter if they are using thunderbird or web mail.


Is there a way to "inject" an html signature from the command line? Ideally I should start pulling settings from ldap, but for now I just need the ability to add everyones signature before we live with zimbra.

Thanks.
Reply With Quote
  #2 (permalink)  
Old 08-09-2007, 09:32 AM
Zimbra Consultant & Moderator
 
Posts: 19,653
Default

HTML signatures will be in a later release of Zimbra but in the meantime search the wiki for 'disclaimer' and see if that will do what you want.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 08-13-2007, 09:03 AM
Active Member
 
Posts: 29
Default

perhaps I can modify my script to make ldif's and pipe them into ldap... that feels a little dangerous though.
Reply With Quote
  #4 (permalink)  
Old 08-13-2007, 10:48 AM
Former Zimbran
 
Posts: 5,606
Default

That's very dangerous.

We generally don't recommend users alter the ldap schema.
This probably will cause problems during updates.
Reply With Quote
  #5 (permalink)  
Old 08-13-2007, 12:41 PM
Active Member
 
Posts: 29
Default

I wasn't going to touch the actual schema. Basically I was going to try and figure out the ldap query that zimbra does, and mimic it. Still dangerous of course, as I don't know if it is doing anything else.

I have since found a much better way to do it, which makes me a LOT more comfortable.

Code:
[zimbra@zimbra log]$ zmprov ma artimus@domain.tld zimbraPrefMailSignatureEnabled TRUE zimbraPrefMailSignatureStyle internet zimbraPrefMailSignature "this is my signature"
Reply With Quote
  #6 (permalink)  
Old 11-27-2007, 04:37 AM
Special Member
 
Posts: 123
Default

I agree with you in the fact it is more comfortable, but how to record a mail signature composed of several lines ???

I'm trying to inject "\n" characters, or whatever that could put one or several CRLF, but it doesn't work !

How can I inject a such mail signature from the CLI ???

Thanks in advance.
Reply With Quote
  #7 (permalink)  
Old 12-06-2007, 07:46 AM
Special Member
 
Posts: 123
Default

no ideas about how to create a mail signature composed of several lines (so, several line CR+LF to enter) ??
Reply With Quote
  #8 (permalink)  
Old 12-06-2007, 08:16 AM
Moderator
 
Posts: 2,207
Default

Franck, did you try the new admin extension ?
Disclaimers Extension goes 1.0!
Reply With Quote
  #9 (permalink)  
Old 12-15-2010, 12:25 PM
Trained Alumni
 
Posts: 108
Default

Quote:
Originally Posted by fmodola View Post
no ideas about how to create a mail signature composed of several lines (so, several line CR+LF to enter) ??
I had the same trouble - what I used was Ctrl-V Ctrl-J at the end of each line and it worked perfectly.
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.