Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F106143
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
vanmeeuwen
Feb 4 2016, 5:26 PM
2016-02-04 17:26:31 (UTC+1)
Size
567 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/pykolab/imap/__init__.py b/pykolab/imap/__init__.py
index 21d918b..d6b8fc9 100644
--- a/pykolab/imap/__init__.py
+++ b/pykolab/imap/__init__.py
@@ -522,6 +522,9 @@ class IMAP(object):
if not hasattr(self, 'domain'):
self.domain == None
+ if self.domain == None and len(mailbox_base_name.split('@')) > 1:
+ self.domain = mailbox_base_name.split('@')[1]
+
if not self.domain == None:
if conf.has_option(self.domain, "autocreate_folders"):
_additional_folders = conf.get_raw(
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
104085
Default Alt Text
(567 B)
Attached To
Mode
P4 (An Untitled Masterwork)
Attached
Detach File
Event Timeline
Log In to Comment