View Issue Details

IDProjectCategoryView StatusLast Update
0005240SOGoWeb Mailpublic2021-01-18 16:33
Reporternenonano Assigned Tofrancis  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platform[Server] LinuxOSRHEL/CentOSOS Version6
Product Version5.0.1 
Summary0005240: Signatures not refreshed after they're changed via SogoMailSignature
Description

On a server of mine, I create html signature for each user from an html template populated with user's data (name, surname, telephone number and so on)
after the file has been created, I use sogo-tool to assign the file to the user:

/usr/sbin/sogo-tool user-preferences set defaults angelagrassi SOGoMailSignature -f /home/e-smith/files/users/angelagrassi/.signature

if I check it with

/usr/sbin/sogo-tool user-preferences get defaults angelagrassi SOGoMailSignature

I see the right signature, with updated info.

When I create a new email from webmail, the old one is shown; already tried to restart sogo's services, to restat the whole server, but nothing woked, I still have the old signature.

This has been used to work since v. 3 on the same server, which I keep update almost weekly.

OS is centos 6.10 (SME server 9) and these are sogo's related rpms:

sope49-core-4.9-20201202_1664.el6.1.x86_64
sope49-mime-4.9-20201202_1664.el6.1.x86_64
sogo-activesync-5.0.1.20201216-1.centos6.x86_64
sope49-cards-5.0.1.20201216-1.centos6.x86_64
sope49-gdl1-contentstore-5.0.1.20201216-1.centos6.x86_64
sogo-5.0.1.20201216-1.centos6.x86_64
sope49-gdl1-mysql-4.9-20201202_1664.el6.1.x86_64
sope49-xml-4.9-20201202_1664.el6.1.x86_64
sope49-ldap-4.9-20201202_1664.el6.1.x86_64
sogo-tool-5.0.1.20201216-1.centos6.x86_64
sogo-ealarms-notify-5.0.1.20201216-1.centos6.x86_64
sope49-sbjson-2.3.1-20201202_1664.el6.1.x86_64
sope49-gdl1-4.9-20201202_1664.el6.1.x86_64
sope49-appserver-4.9-20201202_1664.el6.1.x86_64
libmemcached-1.0.18-1.x86_64
memcached-1.4.4-5.el6.x86_64

no errors in the log

Is there anything I'm missing?

if this method is obsolete/deprecated, is there a way to programmatically create/assign a signature to the users? I don't want user to edit himself.

Steps To Reproduce

create a file with html content, like this one:

<p><strong>Dott.ssa John Doe<\/strong><br>Comune di Fasano<br>Ufficio Ragioneria<br>Piazza I. Ciaia<br>72015 Fasano (Br)<br>Tel: 080\/12344565<\/p>

save is as signature

then assing to the user with

/usr/sbin/sogo-tool user-preferences set defaults yourusername SOGoMailSignature -f path_to_signature

you'd see something like:
<0x0xd955c8[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0xd955c8[SOGoCache]> Using host(s) '127.0.0.1' as server(s)

check the result with
/usr/sbin/sogo-tool user-preferences get defaults angelagrassi SOGoMailSignature
and you'd see something like this:

<0x0x1296c58[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
<0x0x1296c58[SOGoCache]> Using host(s) '127.0.0.1' as server(s)
SOGoMailSignature: "<p><strong>Dott.ssa John Doe Grassi<\/strong><br>Comune di Fasano<br>Ufficio Ragioneria<br>Piazza I. Ciaia<br>72015 Fasano (Br)<br>Tel: 080\/12344565<\/p>"

now change something into your signature, reapply with sogo-tool and check. even after the cleanup timeout, if you create a new mail, you'll see the old signature.

TagsNo tags attached.

Activities

francis

francis

2021-01-18 16:33

administrator   ~0015050

SOGoMailSignature has been deprecated and replaced by SOGoMailIdentities.

Issue History

Date Modified Username Field Change
2021-01-07 06:23 nenonano New Issue
2021-01-18 16:33 francis Assigned To => francis
2021-01-18 16:33 francis Status new => closed
2021-01-18 16:33 francis Resolution open => fixed
2021-01-18 16:33 francis Note Added: 0015050