maildirmake hangs if invoked with -q on non-existing maildir
Osamu Aoki <[email protected]> Sun, 24 Dec 2017 23:53:54 +0900
| Newsgroups | gmane.mail.maildrop |
|---|---|
| Message-ID | <[email protected]> |
Hi, This is a minor bug report but an reasonable one to be fixed. As reported originally by Alexander Koch in 2003: https://bugs.debian.org/214911 https://bugs.debian.org/501557 (Duplicate) | Following typescript shows a minor bug in maildirmake. When trying to | create a new maildir with quota, maildirmake hangs without error | message. Creating without quota and establishing the quota immediately | afterwards works fine. | | root@pop3:~# maildirmake -q 1000S test | ^C | root@pop3:~# ls -l | total 0 | root@pop3:~# | root@pop3:~# maildirmake test | root@pop3:~# ls -l | total 4 | drwx------ 5 root root 4096 Oct 9 12:37 test | root@pop3:~# | root@pop3:~# maildirmake -q 1000S test | root@pop3:~# It's annoying since it hangs without any error message. I checked this issue with the latest maildrop 2.9.3 package, this is true. Checking the current source tree, "maildirmake -q 1000S test" is not checking the existence of maildir and doing the same as "maildirquota -q 1000S test"... No wonder. Why not check the existence of the maildir first and if it doesn't exist, let's create it before setting the quota. Regards, Osamu ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot