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 07-12-2010, 08:25 AM
ylz ylz is offline
Intermediate Member
 
Posts: 22
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
Reply With Quote
  #2 (permalink)  
Old 12-01-2010, 06:51 AM
Beginner Member
 
Posts: 1
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

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.