mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-26 22:05:23 +00:00
BugFix #0002622: The server Dovecot use by default an UTF-8 and by doing so it cause a wrong re-encoding in UTF-7 when reaching the sieve server (knowing that the foldername in sieve are encoded in UTF-7). Since it is not the case with a Cyrus server, I created a new variable available in the sogo.conf that let you specified the type of encoding you need. By default the encoding is set to UTF-7. ex : SOGoFolderEncoding = 'UTF-7'
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
SOGoZipPath = "/usr/bin/zip";
|
||||
|
||||
SOGoEncryptionKey = "MySOGoEncryptionKey";
|
||||
SOGoFolderEncoding = "UTF-7";
|
||||
|
||||
WOUseRelativeURLs = YES;
|
||||
WOMessageUseUTF8 = YES;
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
- (BOOL) trustProxyAuthentication;
|
||||
- (NSString *) encryptionKey;
|
||||
- (BOOL) useRelativeURLs;
|
||||
- (NSString *) folderEncoding;
|
||||
|
||||
- (BOOL) isWebAccessEnabled;
|
||||
- (BOOL) isCalendarDAVAccessEnabled;
|
||||
|
||||
@@ -356,6 +356,12 @@ _injectConfigurationFromFile (NSMutableDictionary *defaultsDict,
|
||||
return [self boolForKey: @"WOUseRelativeURLs"];
|
||||
}
|
||||
|
||||
- (NSString *) folderEncoding
|
||||
{
|
||||
return [self stringForKey: @"SOGoFolderEncoding"];
|
||||
}
|
||||
|
||||
|
||||
- (BOOL) isWebAccessEnabled
|
||||
{
|
||||
return [self boolForKey: @"SOGoWebAccessEnabled"];
|
||||
|
||||
Reference in New Issue
Block a user