Hi,

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,
(as root) /usr/local/bin/maildirmake -q 10000000S /var/vmail/domain.com/user

Maildirmake does not response the command. It just waits for forever,
cursor waits, no output (just like when you simply run 'cat' without pointing 
to a file)
till i interrupt with CTRL+C.

I thought its maybe 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 with ktrace -p $maildirmakepid while maildirmake 
was waiting,
kdump'd the ktrace.out file, got such messages:

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, there is no such 'domain.com' or 'domain.com/user' directory in 
/var/vmail.

maildirmake creates them, just like how it did last day.

Same command, same permissions, same path, not working.

Any idea?

Thanks.

Reply via email to