Results 1 to 9 of 9

Thread: Apply signature from outside of zimbra.

  1. #1
    Join Date
    Jul 2007
    Posts
    29
    Rep Power
    8

    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.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    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


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jul 2007
    Posts
    29
    Rep Power
    8

    Default

    perhaps I can modify my script to make ldif's and pipe them into ldap... that feels a little dangerous though.

  4. #4
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    That's very dangerous.

    We generally don't recommend users alter the ldap schema.
    This probably will cause problems during updates.

  5. #5
    Join Date
    Jul 2007
    Posts
    29
    Rep Power
    8

    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"

  6. #6
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    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.

  7. #7
    Join Date
    Feb 2006
    Location
    France (Haute-Savoie)
    Posts
    123
    Rep Power
    9

    Default

    no ideas about how to create a mail signature composed of several lines (so, several line CR+LF to enter) ??

  8. #8
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,322
    Rep Power
    13

    Default

    Franck, did you try the new admin extension ?
    http://www.zimbra.com/forums/announc...oes-1-0-a.html

  9. #9
    Join Date
    Nov 2007
    Location
    Santa Barbara, CA.
    Posts
    109
    Rep Power
    8

    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.

Similar Threads

  1. Replies: 9
    Last Post: 03-01-2008, 08:21 PM
  2. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 05:43 AM
  3. zmtlsctl give LDAP error
    By sourcehound in forum Administrators
    Replies: 5
    Last Post: 03-11-2007, 04:48 PM
  4. Logger
    By jholder in forum Installation
    Replies: 24
    Last Post: 03-31-2006, 11:50 AM
  5. Monitoring : Data not yet avalaible
    By s3nz3x in forum Installation
    Replies: 7
    Last Post: 11-30-2005, 07:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •