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 12-08-2010, 06:03 AM
Junior Member
 
Posts: 6
Exclamation Disclaimer message problems

Hi,
I saw another post about this topic in this same subforum, so I hope I'm posting this in the correct subforum.

First some info: we run "Release 6.0.7_GA_2473.UBUNTU8 UBUNTU8 NETWORK edition."

I've been trying to get the disclaimer working and have consulted (I think) every post in this forum about this, but still I can't get it running.

Here's what I did:
as user 'zimbra' on the terminal window of my server I ran the following commands:

Code:
zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
zmprov mcf zimbraDomainMandatoryMailSignatureText “my disclaimer”
zmprov mcf zimbraDomainMandatoryMailSignatureHTML "my disclaimer”
zmamavisdctl restart
I checked and in zimbra webadmin, under servers, in the MTA tab, networking section, the webmail MTA hostname is 'localhost'.

I did a tail -f /var/log/zimbra.log and here's what get's written in that logfile:
(Note: I replaced my real company mail address with @ourmailserver.com and my webmail with @mywebmail.com)

Code:
Dec  8 14:22:13 mailserver postfix/smtpd[2818]: connect from localhost[127.0.0.1]
Dec  8 14:22:13 mailserver postfix/smtpd[2818]: 6E1ED3A2001: client=localhost[127.0.0.1]
Dec  8 14:22:13 mailserver postfix/cleanup[2821]: 6E1ED3A2001: message-id=<28855968.6.1291814532949.JavaMail.root@mailserver.sarnoffeurope.local>
Dec  8 14:22:13 mailserver postfix/qmgr[14350]: 6E1ED3A2001: from=<afeys@ourmailserver.com>, size=710, nrcpt=1 (queue active)
Dec  8 14:22:13 mailserver postfix/smtpd[2818]: disconnect from localhost[127.0.0.1]
Dec  8 14:22:13 mailserver amavis[32446]: (32446-01) ESMTP::10024 /opt/zimbra/data/amavisd/tmp/amavis-20101208T142213-32446: <afeys@ourmailserver.com> -> <andy.feys@mywebmail.com> SIZE=710 Received: from mailserver.sarnoffeurope.local ([127.0.0.1]) by localhost (mailserver.sarnoffeurope.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP for <andy.feys@mywebmail.com>; Wed,  8 Dec 2010 14:22:13 +0100 (CET)
Dec  8 14:22:13 mailserver amavis[32446]: (32446-01) Checking: j5moh8uIUI-L MYNETS [127.0.0.1] <afeys@ourmailserver.com> -> <andy.feys@mywebmail.com>
Dec  8 14:22:15 mailserver postfix/smtpd[2926]: connect from localhost[127.0.0.1]
Dec  8 14:22:15 mailserver postfix/smtpd[2926]: 5B8543A2002: client=localhost[127.0.0.1]
Dec  8 14:22:15 mailserver postfix/cleanup[2821]: 5B8543A2002: message-id=<28855968.6.1291814532949.JavaMail.root@mailserver.sarnoffeurope.local>
Dec  8 14:22:15 mailserver postfix/qmgr[14350]: 5B8543A2002: from=<afeys@ourmailserver.com>, size=1206, nrcpt=1 (queue active)
Dec  8 14:22:15 mailserver amavis[32446]: (32446-01) FWD via SMTP: <afeys@ourmailserver.com> -> <andy.feys@mywebmail.com>,BODY=7BIT 250 2.0.0 Ok, id=32446-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5B8543A2002
Dec  8 14:22:15 mailserver amavis[32446]: (32446-01) Passed CLEAN, MYNETS LOCAL [127.0.0.1] [127.0.0.1] <afeys@ourmailserver.com> -> <andy.feys@mywebmail.com>, Message-ID: <28855968.6.1291814532949.JavaMail.root@mailserver.sarnoffeurope.local>, mail_id: j5moh8uIUI-L, Hits: -2.9, size: 710, queued_as: 5B8543A2002, 1901 ms
Dec  8 14:22:15 mailserver amavis[32446]: (32446-01) extra modules loaded: /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/autosplit.ix, /opt/zimbra/zimbramon/lib/i486-linux-gnu-thread-multi/auto/Net/SSLeay/randomize.al, IO/Socket/SSL.pm, Net/LDAP/Extension.pm, Net/SSLeay.pm
Dec  8 14:22:15 mailserver postfix/smtp[2833]: 6E1ED3A2001: to=<andy.feys@mywebmail.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=2, delays=0.12/0.01/0.03/1.9, dsn=2.0.0, status=sent (250 2.0.0 Ok, id=32446-01, from MTA([127.0.0.1]:10025): 250 2.0.0 Ok: queued as 5B8543A2002)
Dec  8 14:22:15 mailserver postfix/qmgr[14350]: 6E1ED3A2001: removed
Dec  8 14:22:16 mailserver postfix/smtp[2934]: 5B8543A2002: to=<andy.feys@mywebmail.com>, relay=gmail-smtp-in.l.google.com[74.125.79.27]:25, delay=0.85, delays=0.09/0.02/0.18/0.55, dsn=2.0.0, status=sent (250 2.0.0 OK 1291814536 l12si806874weq.177)
Dec  8 14:22:16 mailserver postfix/qmgr[14350]: 5B8543A2002: removed
Dec  8 14:22:26 mailserver zmmailboxdmgr[3346]: status requested
Dec  8 14:22:26 mailserver zmmailboxdmgr[3346]: status OK
Dec  8 14:22:26 mailserver zmmailboxdmgr[3405]: status requested
Dec  8 14:22:26 mailserver zmmailboxdmgr[3405]: status OK
According to one post I read there is supposed to be a line in there saying something like ' amavis.... : .... mangling by altermime (disclaimer) done'.

As you can see I don't have that in my logfile. Or is this only for older versions of Zimbra?

Does anyone have any idea how to fix this? I urgently need to get this up & running.

best regards, and thanks to anyone who can point me in the right direction,
Andy
Reply With Quote
  #2 (permalink)  
Old 12-08-2010, 06:11 AM
Junior Member
 
Posts: 6
Default Extra info

I did a

Code:
zmprov gd mymaildomain.com
(where mymaildomain.com is replaced with my real mail domain of course)

and I get

Code:
zimbraDomainMandatoryMailSignatureEnabled: TRUE
zimbraDomainMandatoryMailSignatureHTML: disclaimer
zimbraDomainMandatoryMailSignatureText: disclaimer
(where disclaimer = my correct disclaimer)
Reply With Quote
  #3 (permalink)  
Old 12-08-2010, 10:00 AM
Junior Member
 
Posts: 7
Default

I ran on a 6.0.9 install:

zmprov mcf zimbraDomainMandatoryMailSignatureEnabled TRUE
zmprov mcf zimbraDomainMandatoryMailSignatureText "some text"
/opt/zimbra/bin/zmamavisdctl restart

and it worked. When typing the message, it didn't show up, but after it was sent, it showed up in the delivered mailbox.

I also rebooted the entire server, which may not be possible for you.

I used the web interface as well when sending the email.
Reply With Quote
  #4 (permalink)  
Old 12-09-2010, 01:49 AM
Junior Member
 
Posts: 6
Default

Hi Yopofun,

Thanks for your reply.
I tried it with Outlook, tried it with webmail, before and after reboot... no success.
I don't know what else to check. Anyone have any other ideas?

best regards,
Andy
Reply With Quote
  #5 (permalink)  
Old 12-09-2010, 03:42 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by andyfeys View Post
I tried it with Outlook, tried it with webmail, before and after reboot... no success.
I don't know what else to check. Anyone have any other ideas?
Possibly a silly question but do you actually have some HTML code (and is it valid code) in your HTML disclaimer? Have you tried just setting one of the disclaimers (and removing the other) to see what, if anything, is causing the problem?
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 12-09-2010, 04:10 AM
Junior Member
 
Posts: 6
Default

Hi,
I had already removed all htmlcode, so both disclaimers (the text version and the html version) are exactly the same (just one sentence containing company and address stuff, no line breaks or other fancy stuff).

Is there any way to check if amavis is configured right? (or isn't it amavis which adds the mailfooter in the Zimbra 6.0.7_GA_2473 release?)
I've never configured/used amavis before, so I have no idea where to start checking...
Reply With Quote
  #7 (permalink)  
Old 12-09-2010, 04:34 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by andyfeys View Post
Hi,
I had already removed all htmlcode, so both disclaimers (the text version and the html version) are exactly the same (just one sentence containing company and address stuff, no line breaks or other fancy stuff).
I was asking if you had actually removed the HTML signature (not just the HTML code) completely, not changing it to a text signature.
__________________
Regards


Bill

Last edited by phoenix; 04-29-2011 at 11:58 PM..
Reply With Quote
  #8 (permalink)  
Old 12-09-2010, 04:59 AM
Junior Member
 
Posts: 6
Default

Hi,

I've just removed the html signature, restarted amavis and got the same problem (when sending a text message of course),
I then removed the text signature, set signatureenabled to false, restarted amavis, then reset signatureenabled to true and added a text signature: problem remains.
Reply With Quote
  #9 (permalink)  
Old 12-09-2010, 11:50 AM
Junior Member
 
Posts: 6
Default

some more info:
/opt/zimbra/data/altermime/global-default.txt and /opt/zimbra/data/altermime/global-default.html contain the correct signature.

Does anyone have any more ideas?
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.