Emails causing Unable to create a dot-lock file

Discussion in 'General' started by andyb2000, Apr 16, 2012.

  1. andyb2000

    andyb2000 New Member

    Hi folks,

    This may just be a logical error that I've done, if so please point me in the right direction!

    I've got quite a few domains attached to my Email setup, so my setup is:

    Under Email Accounts > Domain I have the primary domain setup ""
    I then setup an Email mailbox "".
    I then setup a Domain Alias for "" forwarding to "".

    So emails work if sent to or The problem comes if somebody sends an email to "", the alias works and it tries to forward it to the, but because doesn't exist (and I don't want it to exist!) it causes maildrop to get angry:

    E29691036B1     2732 Sun Apr 15 18:14:59
    (temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/
    Is there a simple solution to this, should I be creating a dummy catch-all to drop the mail or something, ideally I want these emails bounced with invalid recipient.

    Thanks in advance.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The above message is ok, its the rejection of the email by maildrop for non existing accounts.

    If you want that the emails for non existing accounts get denied by postfix directky and not maildrop, then remove the domain alias and replace it with email aliases of the email addresses that shall be forwarded.
  3. andyb2000

    andyb2000 New Member

    Thanks for the confirmation.

    I understand the error, but I think i'll change it over to email aliases as at the moment these emails get stuck in my postqueue for the maximum time until they get attempted to return to sender with an error in delivery (untidy, as the sender doesn't get an immediate bounce, they get a delay then an error not an invalid sender return).
  4. gondim

    gondim New Member

Share This Page