HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Emails causing Unable to create a dot-lock file (http://www.howtoforge.com/forums/showthread.php?t=56939)

andyb2000 16th April 2012 11:15

Emails causing Unable to create a dot-lock file
 
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 "example.com"
I then setup an Email mailbox "andy@example.com".
I then setup a Domain Alias for "@example.co.uk" forwarding to "@example.com".

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

Code:


E29691036B1    2732 Sun Apr 15 18:14:59  fred@example.co.uk
(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.)
                                        fred@example.com

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.

till 16th April 2012 11:36

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.

andyb2000 16th April 2012 11:46

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).

gondim 3rd July 2012 01:15

Hi

I have this error:

052FA5C09E5 36040 Mon Jul 2 19:56:15 wesley.costa@correiasmercurio.com.br
(temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to open mailbox.)
vendas3@rscomercial.ind.br

04B875C062D 57768 Mon Jul 2 19:50:53 teste@intnet.com.br
(temporary failure. Command output: ERR: authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop: Unable to open mailbox.)
gondim@rscomercial.ind.br


All times are GMT +2. The time now is 00:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.