Ozgur Kazancci writes:
I've a strange problem;I installed an OpenBSD mail server last day with Postfix, Courier-Imap..etc Everything was working fine, until i wanted to re-create an e-mail account. Now, when i'm trying to make user's directory, (with; /usr/local/bin/maildirmake -q 10000000S /var/vmail/domain.com/user) Maildirmake does not response the command. It just waits for forever. (as root) i try: /usr/local/bin/maildirmake -q 5000000S /var/vmail/domain.com/user, cursor waits, no output (just like when you simply run 'cat' without pointing to a file) till i interrupt with CTRL+C. I tought maybe its because of the permissions, but neither chown -R vmail:vmail /var/vmail did not solve that details: OpenBSD 4.6-stable #which maildirmake /usr/local/bin/maildirmake # ls -al /usr/local/bin/maildirmake -r-xr-xr-x 1 root bin 30504 Jul 2 2009 /usr/local/bin/maildirmake i've created a ktrace.out file after running ktrace -p $maildirmakepid while maildirmake was waiting, kdump'd the ktrace.out file, got such alerts: 14969 maildirmake NAMI "/var/vmail/domain.com/info/tmp/1271783205.14969_NeWmAiLdIrSiZe.hostname.server.com" 14969 maildirmake RET stat -1 errno 2 No such file or directory 14969 maildirmake CALL open(0x80b30600,0x20e,0x1a4) 14969 maildirmake NAMI "/var/vmail/domain.com/info/tmp/1271783205.14969_NeWmAiLdIrSiZe.hostname.server.com" 4969 maildirmake RET open -1 errno 2 No such file or directory ... Of course, /var/vmail is totally empty,
In that case, /var/vmail/domain.com does not exist, and you're trying to create a maildir in that directory.
maildirmake requires that the directory in which you're trying to create a maildir already exists. maildirmake won't recursively create any missing parent directory.
pgpKO7j6u3SG3.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ courier-users mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
