Results 1 to 2 of 2

Thread: Line breaks in system wide signature (disclaimer)

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Switzerland
    Posts
    22
    Rep Power
    7

    Default Line breaks in system wide signature (disclaimer)

    Hi folks

    ZCS NE 6.0.7.1

    I'm trying to set up the system wide signature as disclaimer for plain text emails. It seems that amavis ignores any characters for line breaks.

    If I do
    Code:
    zmprov mcf zimbraDomainMandatoryMailSignatureText "`cat disclaimer.txt`"
    where disclaimer.txt has line feeds inside, the result looks like that:

    Code:
    --No animals were harmed during the transmission of this message.--Please think on our environment.
    If I use \n as delimiter
    Code:
    zmprov mcf zimbraDomainMandatoryMailSignatureText "--\nNo animals were harmed during the transmission of this message."
    that's the result:

    Code:
    --\nNo animals were harmed during the transmission of this message.
    Anyone knows how to do this?

    Thanks
    - Dan

  2. #2
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    6

    Default

    try this

    edit: /opt/zimbra/conf/amavisd.conf.in

    line 24

    from

    %%uncomment VAR:zimbraDomainMandatoryMailSignatureEnabled%%@al termime_args_disclaimer = qw(--verbose --disclaimer=/opt/zimbra/data/altermime/_OPTION_.txt --disclaimer-html=/opt/zimbra/data/altermime/_OPTION_.html );

    to

    %%uncomment VAR:zimbraDomainMandatoryMailSignatureEnabled%%@al termime_args_disclaimer = qw(--verbose --disclaimer=/opt/zimbra/data/altermime/xx.txt --disclaimer-html=/opt/zimbra/data/altermime/_OPTION_.html );

    and

    create file
    /opt/zimbra/data/altermime/xx.txt

    and edit your disclaimer in that file (xx.txt)

    restart zmamavisdctl


Similar Threads

  1. Initializing ldap...FAILED (256)
    By CVD in forum Installation
    Replies: 17
    Last Post: 03-10-2006, 09:47 AM
  2. Yet another get.DirectContext issue
    By dccpark in forum Installation
    Replies: 5
    Last Post: 03-08-2006, 01:25 PM
  3. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM
  4. Replies: 13
    Last Post: 10-31-2005, 04:22 PM
  5. system failure: getDirectContext
    By avisser in forum Installation
    Replies: 3
    Last Post: 10-12-2005, 06:32 AM

Posting Permissions

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