Postfix problems -mailbox not created?

started at 21 Apr 2008 by Nick
  • Nick
    21 Apr 2008

    Hi,

    Still battling with set up a Mac Mini as a server.

    I have followed the instructions for setting up mail (twice). Double checked ownership of the virtual directory (_vmail, _postfix, read, write, execute). I can send mail to myself on another account via the server... but I can't get mail delivered. If I send a message, from another machine, via another SMTP, to myself, I get:

    Apr 21 11:41:24 customer postfix/pipe[351]: 63802117B4F: to=<test@ XXXXX >, relay=maildrop, delay=0.08, delays=0.03/0.01/0/0.05, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to create a dot-lock at /usr/local/virtual/XXXXX/test/XXXX.customer.macminicolo.net. )

    User test is set up to receive mail using postfixadmin, and is listed in MySQL (thepostfix.mailbox)....

    Any thoughts, comments, help etc. are greatly appreciated.

    Thanks

    Nick

  • Richard
    21 Apr 2008

    The problem here is maildrop. Maildrop does not create mail directories automatically. There are three options, create the directory manually with the maildirmake command, copy a maildirectory form another user and rename it (also empty the emails from it) or enhance the maildrop script so that it will create the directories automagically (I'm working on this but it takes me a long time to do this)

  • Nick
    22 Apr 2008

    I thought this was being dealt with by postfix.admin? Interestingly there is a script in the postfix.admin ADDITIONS folder called postfixadmin-mailbox-postcreation.sh that seems to contain the necessary code to create the folders. This script is not called in the standard setup. I will explore this further.....

  • Nick
    22 Apr 2008

    Yes, the problem was to do with a lack of folders for the mail.... however, all is still not well and I am now seeing an error:

    to=<nick@xxxxxxxx>, relay=maildrop, delay=90883, delays=90872/0.32/0/10, dsn=4.3.0, status=deferred (temporary failure. Command output: /usr/local/bin/maildrop: Unable to open mailbox. )

    I have seen posts here on the subject, but no real solutions. This is driving me nuts... if I get a solution I will post it in the new thread I have started....

  • Richard
    22 Apr 2008

    Nick, when you've created the directories are the owner and access rights still set as they should be ? So owned by _vmail.

Reply

You must log in to post.