on est pass aux maildir :)
darcs-hash:20051026154743-4ec08-cef19fc545f7fe6e418dc6b3211bf43af39872b0.gz
This commit is contained in:
parent
bfa87b05ac
commit
4b914af162
1 changed files with 2 additions and 2 deletions
|
@ -32,8 +32,8 @@ class del_user :
|
|||
shutil.rmtree(home)
|
||||
else :
|
||||
warn += '%s incorrect\n' % home
|
||||
if os.path.isfile('/var/spool/mail/' + login ) :
|
||||
os.unlink('/var/spool/mail/' + login)
|
||||
if os.path.isdir('/var/spool/mail/' + login ) :
|
||||
shutil.rmtree('/var/spool/mail/' + login)
|
||||
else :
|
||||
warn += '/var/spool/mail/%s incorrect\n' % login
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue