VirtualMailManager/account.py
branchv0.6.x
changeset 560 2662f4e17eb4
parent 559 cc0f67f99780
child 561 b0165b7af7a3
--- a/VirtualMailManager/account.py	Wed Jun 27 12:18:53 2012 +0000
+++ b/VirtualMailManager/account.py	Wed Jun 27 12:46:27 2012 +0000
@@ -124,7 +124,7 @@
                        'mbfmt': maillocation.mbformat,
                        'version': version_str(maillocation.dovecot_version)},
                        INVALID_MAIL_LOCATION)
-        if not maillocation.postfix and \
+        if self._transport and not maillocation.postfix and \
           self._transport.transport.lower() in ('virtual:', 'virtual'):
             raise AErr(_(u"Invalid transport '%(transport)s' for mailbox "
                          u"format '%(mbfmt)s'.") %