Page 1 of 1
User cannot save his signature
Posted: Wed Oct 07, 2009 10:54 am
by kjakkanen
Hi,
One user gives this problem description in his Helpdesk ticket:
---
If I try to customise my settings by using 'Options' 'Mail Composition', the settings remain for the session, but when I log out of Scalix, the next time I use it, the setting are returned to default. I therefore have to type in my signature at the beginning of each session.
---
Any clue on why this would be happening? User is using Scalix SBE 11.4.0 Webmail running on a Red Hat Enterprise 4 platform.
Any responses appreciated!
BR;
Kimmo
Re: User cannot save his signature
Posted: Fri Oct 16, 2009 5:21 pm
by ltward
Hi,
The signature data for SWA is stored in a special "message" in the user's account. You can see the message in omcontain.
Open the user account, open their Filing Tray, open the "IMAP #Scalix namespace" folder and then the "IMAP Oddpost mailbox" folder.
You should see a message in there entitled "[prefs(v2.1) data]". It contains the SWA signature along with other preferences settings.
I suggest running omcheck to verify the ownership and permissions of the files on your server, especially the files in the data store:
omcheck -s -d > /tmp/check.out
When that finishes, run the script created by omcheck:
sh /tmp/check.out
It will tell you if it finds any incorrect ownership/permissions and it will fix them for you. Keep running omcheck and executing the resulting shell script until no errors are reported.
If that doesn't resolve the problem you could sxmboxexp the user, create a test account, and sxmboximp into the test account. Make sure the data imports without any problems and try setting the signature. If all goes well then you can:
Delete the test account
Shut down local delivery (omoff -d0 -s local)
export the user with sxmboxexp
delete the user
re-create the user
import their data with sxmboximp
Turn local delivery back on
Re: User cannot save his signature
Posted: Mon Oct 19, 2009 4:55 am
by ls-al
Hi,
you can give http://downloads.it25.de/scripts/cleanprefs a try if you dont want to use omcontain. The script requires an mboxadmin account.
It is deleting stuff, so use at own risk.
Re: User cannot save his signature
Posted: Thu Oct 29, 2009 4:53 am
by kjakkanen
Many thanks for both responses, what actually the cleanprefs script is deleting?
/Kimmo
Re: User cannot save his signature
Posted: Thu Oct 29, 2009 6:22 am
by ls-al
It can handle all SWA per-user settings that are stored in the "IMAP Oddpost mailbox" folder.
Theres a usage() function at the top of the script.
Currently we know three types of messages:
[autocomplete data] - recently typed addresses
[userinfo data] - internal data like last logon
[prefs(vx.y) data] - per user settings, has version number (currently 2.1), gets defaults from swa.properties (swa.user.*)
Re: User cannot save his signature
Posted: Thu Oct 29, 2009 7:02 am
by kjakkanen
OK I guess I could've checked the script myself, sorry.
We run on RH Enterprise 4, I get this trying to use the script:
Perl module 'Net::IMAP::Simple' is not installed.
Anyone know what I should install, can't find anything that provides this from RHN package search?
Thanks,
Kimmo
Re: User cannot save his signature
Posted: Thu Oct 29, 2009 7:09 am
by ls-al
Sorry, I wasnt aware that our devloper was using this. He told me that he usd the CPAN modules. But its probably better to use the rpmforge repository.
http://dag.wieers.com/rpm/packages/perl-Net-IMAP-Simple/
You should read http://dag.wieers.com/rpm/FAQ.php for informations about this repo.