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 "example.com"
I then setup an Email mailbox "email@example.com".
I then setup a Domain Alias for "@example.co.uk" forwarding to "@example.com".
So emails work if sent to firstname.lastname@example.org
. The problem comes if somebody sends an email to "email@example.com", the alias works and it tries to forward it to the example.com, but because firstname.lastname@example.org
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 email@example.com
(temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to create a dot-lock at /var/vmail/example.com/fred/10677.0.vhost.)
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.