+
+ /* Internet mail settings */
+
+ showInternetMarker = [ud boolForKey:@"SOGoShowInternetMarker"];
+ if (!showInternetMarker) {
+ NSLog(@"Note: visual Internet marker on mail editor disabled "
+ @"(SOGoShowInternetMarker)");
+ }
+
+ if ((s = [ud stringForKey:@"SOGoInternetDetectQualifier"]) != nil) {
+ internetDetectQualifier =
+ [[EOQualifier qualifierWithQualifierFormat:s] retain];
+ if (internetDetectQualifier == nil)
+ NSLog(@"ERROR: could not parse qualifier: '%@'", s);
+ }
+ if (internetDetectQualifier == nil)
+ NSLog(@"Note: no 'SOGoInternetDetectQualifier' configured.");
+ else
+ NSLog(@"Note: detect Internet access using: %@", internetDetectQualifier);
+
+ internetMailHeaders =
+ [[ud dictionaryForKey:@"SOGoInternetMailHeaders"] copy];
+ NSLog(@"Note: specified %d headers for mails send via the Internet.",
+ [internetMailHeaders count]);