User cannot save his signature

Discuss the Scalix web client

Moderators: ScalixSupport, admin

kjakkanen
Posts: 125
Joined: Thu Dec 21, 2006 10:09 am
Location: Espoo - Finland

User cannot save his signature

Postby kjakkanen » Wed Oct 07, 2009 10:54 am

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

ltward
Posts: 309
Joined: Tue Jan 15, 2008 1:54 pm
Contact:

Re: User cannot save his signature

Postby ltward » Fri Oct 16, 2009 5:21 pm

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

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: User cannot save his signature

Postby ls-al » Mon Oct 19, 2009 4:55 am

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.

kjakkanen
Posts: 125
Joined: Thu Dec 21, 2006 10:09 am
Location: Espoo - Finland

Re: User cannot save his signature

Postby kjakkanen » Thu Oct 29, 2009 4:53 am

Many thanks for both responses, what actually the cleanprefs script is deleting?

/Kimmo

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: User cannot save his signature

Postby ls-al » Thu Oct 29, 2009 6:22 am

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.*)

kjakkanen
Posts: 125
Joined: Thu Dec 21, 2006 10:09 am
Location: Espoo - Finland

Re: User cannot save his signature

Postby kjakkanen » Thu Oct 29, 2009 7:02 am

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

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: User cannot save his signature

Postby ls-al » Thu Oct 29, 2009 7:09 am

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.


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests