/usr/local/bin/maildrop: Unable to open mailbox

started at 14 Jan 2007 by macmax
  • macmax
    14 Jan 2007
    postfix/pipe[360]: 3314044980: to=<tttttttttt@abcd.com>, relay=maildrop, delay=1341, delays=1340/0.51/0/0.32, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. )

    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
  • Richard
    16 Jan 2007
    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.
  • Richard
    16 Jan 2007
    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.

Reply

You must log in to post.