FruitNZ
Verified User
- Joined
- Jul 3, 2008
- Messages
- 5
Hi all.
Exim is having issues delivering mail to local users, Virtual Users aren't affected...
Been pulling my hair all morning (I got a lot of hair...), and wondered if anyone had ideas as I am stumped.
local_delivery defer (13): Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d56d1.00006d45
(euid=1003 egid=8)
folder permissions:
===========
/var/mail directory:
drwxrwxrwt *2 mail mail * 4096 2008-07-04 14:15 /var/mail
users within /var/mail/:
-rw-rw---- *1 hostingd *mail * 327896 2008-07-02 13:07 /var/mail/hostingd
from exim.conf:
=========
localuser:
* driver = accept
* check_local_user
* condition = "${if eq {$domain} {$primary_hostname} {yes} {no}}"
* transport = local_delivery
local_delivery:
* driver = appendfile
* delivery_date_add
* envelope_to_add
* file = /var/mail/$local_part
* group = mail
* mode = 0660
* return_path_add
* user = ${local_part}
/var/spool/exim/msglog:
==============
# cat 1KEXZZ-0007H8-BE
2008-07-04 10:46:41 Received from <> R=1KEXZZ-0007H5-7F U=mail P=local S=2651
T="Mail delivery failed: returning message to sender"
2008-07-04 10:46:41 [email protected]
<[email protected]> R=localuser T=local_delivery defer (13):
Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d56d1.00006d45
(euid=1003 egid=8)
2008-07-04 12:17:29 [email protected]
<[email protected]> R=localuser T=local_delivery defer (13):
Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d6c19.00002eb7
(euid=1003 egid=8)
2008-07-04 12:24:43 [email protected]
<[email protected]> R=localuser T=local_delivery defer (13):
Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d6dca.0000356a
(euid=1003 egid=8)
UIDs:
===
EUID 1003 = hostingd
EGID 8 = mail
/etc/passwd:
hostingd:x:1003:110::/home/hostingd:/bin/bash
/etc/group:
mail:x:8:
I'm considering trying:
/usr/local/directadmin/directadmin p
and:
/usr/local/directadmin/scripts/set_permissions.sh all
Is this likely to break/fix anything?
Thanks everyone
Exim is having issues delivering mail to local users, Virtual Users aren't affected...
Been pulling my hair all morning (I got a lot of hair...), and wondered if anyone had ideas as I am stumped.
local_delivery defer (13): Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d56d1.00006d45
(euid=1003 egid=8)
folder permissions:
===========
/var/mail directory:
drwxrwxrwt *2 mail mail * 4096 2008-07-04 14:15 /var/mail
users within /var/mail/:
-rw-rw---- *1 hostingd *mail * 327896 2008-07-02 13:07 /var/mail/hostingd
from exim.conf:
=========
localuser:
* driver = accept
* check_local_user
* condition = "${if eq {$domain} {$primary_hostname} {yes} {no}}"
* transport = local_delivery
local_delivery:
* driver = appendfile
* delivery_date_add
* envelope_to_add
* file = /var/mail/$local_part
* group = mail
* mode = 0660
* return_path_add
* user = ${local_part}
/var/spool/exim/msglog:
==============
# cat 1KEXZZ-0007H8-BE
2008-07-04 10:46:41 Received from <> R=1KEXZZ-0007H5-7F U=mail P=local S=2651
T="Mail delivery failed: returning message to sender"
2008-07-04 10:46:41 [email protected]
<[email protected]> R=localuser T=local_delivery defer (13):
Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d56d1.00006d45
(euid=1003 egid=8)
2008-07-04 12:17:29 [email protected]
<[email protected]> R=localuser T=local_delivery defer (13):
Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d6c19.00002eb7
(euid=1003 egid=8)
2008-07-04 12:24:43 [email protected]
<[email protected]> R=localuser T=local_delivery defer (13):
Permission denied: creating lock file hitching
post /var/mail/hostingd.lock.cp2.hostingdirect.co.nz.486d6dca.0000356a
(euid=1003 egid=8)
UIDs:
===
EUID 1003 = hostingd
EGID 8 = mail
/etc/passwd:
hostingd:x:1003:110::/home/hostingd:/bin/bash
/etc/group:
mail:x:8:
I'm considering trying:
/usr/local/directadmin/directadmin p
and:
/usr/local/directadmin/scripts/set_permissions.sh all
Is this likely to break/fix anything?

Thanks everyone
