Disclaimers not wor...
 
Notifications
Clear all

Disclaimers not working as intended when sending from web client (HTML)

2 Posts
3 Users
0 Reactions
126 Views
(@tanathka)
New Member
Joined: 2 months ago
Posts: 1
Topic starter  

Hi Everyone,

I've just migrated to Carbonio CE and for me its the latest in a long line of migrations.  Pegasus Mail, Zarafa and Kolab have been in there so I have a little experience of email apps.

So mostly things have been going well, however I have come across a few oddities/quirks and I've managed to work around most.

The one I want to mention though, is the global disclaimer as I think there might be a bug lurking here.

When using the android app, all is well, both text and HTML disclaimers work fine. The same is true when using Thunderbird as the client.  The issue arises when using the web client. It doesn't send the rich text disclaimer but does when using the text only. If I send as rich text and read it as plain text, I will see the plain text disclaimer.  Looking at the email source text shows only the plain text disclaimer.

Looking forward to what people come up with.

Regards

Tanathka

  

This topic was modified 2 months ago by tanathka

   
Quote
(@donremigio)
New Member
Joined: 5 days ago
Posts: 1
 

I had the same problem after upgrading to version 26.3.0. I don't know why, but Carbonio was marking all HTML disclaimers as malformed HTML, even those that didn't contain any HTML tags.

The solution I found was to modify the Amavis configuration file to force it to accept malformed HTML. These are the commands I used:

#Backup the configuration file
cp -a removed link removed link .bak.$(date +%Y%m%d-%HH%M)

#Force it to accept malformed HTML (even though it isn't actually malformed; this appears to be a Carbonio bug)
sed -i 's removed link --force-for-bad-html/' removed link

#Restart the services
systemctl restart carbonio-configd.service && systemctl restart carbonio-mailthreat.service

#Check for service errors in case anything went wrong
systemctl status carbonio-mailthreat.service --no-pager

#Check if the new option was applied. You should see "--force-for-bad-html"
grep -n 'altermime_args_disclaimer' removed link

I hope this solves your problem.

This post was modified 5 days ago by donRemigio

   
ReplyQuote