Logo Search packages:      
Sourcecode: scalemail version File versions

def scalemail::smtp::ScalemailMaildirDomain::userDirectory (   self,
  username 
)

Get the maildir directory for a given user

Return None for non-existing users.

Definition at line 258 of file smtp.py.

00258                                      :
        """Get the maildir directory for a given user

        Return None for non-existing users.
        """
        (dir, folder)=self._userdir(username)
        if not os.path.isdir(dir):
            return None
        if folder:
            dir=os.path.join(dir, '.'+folder)
            if not os.path.isdir(dir):
                mailfoldermake(dir)
        return dir

class ScalemailDelivery(protocols.ESMTPDomainDelivery):


Generated by  Doxygen 1.6.0   Back to index