Max, have you set the proper rights on the filesystem to allow maildrop to access the mail folder ?
If you are using my setup than the command should be:
sudo chown -R vmail:postfix /usr/local/virtual
macmax 16 Jan 2007
Yes, I've followed your istructions and the proper rights are all rights.
I obtain the error "(temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. )" just when I create new email with postfixadmin.
Ok I understand the problem. The issue is that maildrop is unable to create mail directories that don't exist.
I need to tweak the maildroprc script to create using the maildirmake command. As I am as new to maildrop as you are I'm still finding out about this.
You can create the directory manually by going into /usr/local/virtual/
mkdir the domaindir with proper rights and then
maildirmake mailaccoutname
you should get a directory with cur, tmp and new in there like others.
macmax 16 Jan 2007
Ok, now it works.
Thank you.
Max
jlbrown 01 Aug 2007
I'm having the same problem that macmax was having.
Before I switched to maildrop all I had to do was send the new user an email for their directory to be setup. Now I get the "Unable to open mailbox" error message.
I didn't mkdir the domaindir as it has already been created.
I can not cd into the the domain directory. If I type sudo cd /usr/local/virutal/bordo.com.au it just takes me to /usr/local/virtual.
So I've no idea what's in it!
I've run maildirmake but still get the errors about not being able to open the mailbox.
14 Jan 2007
the maildrop does not work!!!
I've used the maildrop 2.0.3, Courier-IMAP 4.1.2 and Courier-Authlib 0.59.
???
thanks
Max
16 Jan 2007
If you are using my setup than the command should be:
sudo chown -R vmail:postfix /usr/local/virtual16 Jan 2007
I obtain the error "(temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. )" just when I create new email with postfixadmin.
16 Jan 2007
I need to tweak the maildroprc script to create using the maildirmake command. As I am as new to maildrop as you are I'm still finding out about this.
You can create the directory manually by going into /usr/local/virtual/
mkdir the domaindir with proper rights and then
maildirmake mailaccoutname
you should get a directory with cur, tmp and new in there like others.
16 Jan 2007
Thank you.
Max
01 Aug 2007
I'm having the same problem that macmax was having.
Before I switched to maildrop all I had to do was send the new user an email for their directory to be setup. Now I get the "Unable to open mailbox" error message.
I didn't mkdir the domaindir as it has already been created.
I can not cd into the the domain directory. If I type
sudo cd /usr/local/virutal/bordo.com.auit just takes me to /usr/local/virtual.So I've no idea what's in it!
I've run maildirmake but still get the errors about not being able to open the mailbox.