[Exim] local delivery - permission denied

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: |{ f|
Data:  
Para: exim-users
Asunto: [Exim] local delivery - permission denied
Hallo,

Unsucsesfuly trying to send
a message from root to root.


Thank you in advance.


This is my debug file:

kebian:~# exim -d9 -oi -oem root
Exim version 2.05 debug level 9 uid=0 gid=0
probably Berkeley DB version 1.8x (native mode)
Actual local interface address is 127.0.0.1
user name "root" extracted from gecos field "root"
set_process_info: 1686 2.05 accepting a local non-SMTP message from <root@kebian>
Sender: root@kebian
Recipients:
root
search_tidyup called
>>Original headers:


search_tidyup called
>>Final headers:

P Received: from root by kebian with local (Exim 2.05 #1 (Debian))
    id 12DdFX-0000RC-00; Thu, 27 Jan 2000 02:57:34 +0200
I Message-Id: <E12DdFX-0000RC-00@kebian>
F From: root <root@kebian>
T To: root@kebian
  Date: Thu, 27 Jan 2000 02:57:34 +0200


Data file written for message 12DdFX-0000RC-00
Writing spool header file
Size of headers = 237
LOG: 0 MAIN
  <= root@kebian U=root P=local S=238
kebian:~# exec /usr/sbin/exim -d9 -Mc 12DdFX-0000RC-00      
Exim version 2.05 debug level 9 uid=8 gid=8
probably Berkeley DB version 1.8x (native mode)
Actual local interface address is 127.0.0.1
set_process_info:  1687 2.05 delivering specified messages
delivering message 12DdFX-0000RC-00
set_process_info:  1687 2.05 delivering 12DdFX-0000RC-00
Opened spool file 12DdFX-0000RC-00-H
user=root uid=0 gid=0 sender=root@kebian
sender_local=1 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=0 message_linecount=6
Delivery address list:
  root@kebian 
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = root@kebian
dbfn_read: key=D:root@kebian
root@kebian: queued for directing

>>>>>>>>>>>>>>>>>>>>>>>>

directing root@kebian
real_local director skipped: prefix mismatch
calling system_aliases director
system_aliases director: lsearch key=root
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
type=lsearch key="root" partial=-1
internal_search_find: file="/etc/aliases"
type=lsearch key="root"
file lookup required for root
in /etc/aliases
lookup yielded: postmaster
parse_extract_addresses: postmaster
extract item: postmaster
system_aliases director generated postmaster@kebian
uid=unset gid=unset home=null
system_aliases director succeeded for root
transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = postmaster@kebian
dbfn_read: key=D:postmaster@kebian
postmaster@kebian: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing postmaster@kebian
real_local director skipped: prefix mismatch
calling system_aliases director
system_aliases director: lsearch key=postmaster
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
cached
search_find: file="/etc/aliases"
type=lsearch key="postmaster" partial=-1
internal_search_find: file="/etc/aliases"
type=lsearch key="postmaster"
file lookup required for postmaster
in /etc/aliases
lookup yielded: root
parse_extract_addresses: root
extract item: root
system_aliases director generated root@kebian
uid=unset gid=unset home=null
system_aliases director succeeded for postmaster
transport: <none>
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
unique = \root@kebian
dbfn_read: key=D:root@kebian
root@kebian: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing root@kebian
real_local director skipped: prefix mismatch
system_aliases director skipped: previously directed root@kebian
calling userforward director
userforward director: file = .forward
userforward director euid=0 egid=0
successful stat of /root
userforward director: no file found
userforward director restored euid=8 egid=8
calling localuser director
queued for local_delivery transport: local_part=root domain=kebian
localuser director succeeded for root
  transport: local_delivery
After directing:
  Local addresses:
    root@kebian
  Remote addresses:
  Failed addresses:
  Addresses to be routed:
  Deferred addresses:
search_tidyup called

>>>>>> Local deliveries >>>>>>

locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:root@kebian
delivering root@kebian as root using local_delivery:
uid=65534 gid=65534 home=/root current=/root
auxiliary group list: <none>
local_delivery transport returned DEFER
added retry item for T:root@kebian: errno=13 0
post-process root@kebian
LOG: 0 MAIN
== root@kebian <postmaster@kebian> T=local_delivery defer (13): Permission denied: failed to chdir to /root
search_tidyup called
>>>>>> Remote deliveries >>>>>>

set_process_info: 1687 2.05 tidying up after delivering 12DdFX-0000RC-00
Processing retry items
Succeeded addresses:
postmaster@kebian: no retry items
root@kebian: no retry items
root@kebian: no retry items
Failed addresses:
Deferred addresses:
root@kebian
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=42
retry for T:root@kebian = *
dbfn_read: key=T:root@kebian
Writing retry data for T:root@kebian
first failed=948670680 last try=948934654 next try=948963454 expired=0
error 13 0: Permission denied
dbfn_write: key=T:root@kebian
postmaster@kebian: no retry items
root@kebian: no retry items
end of retry processing
time on queue = 7s
warning counts: required 0 done 0
delivery deferred: update_spool=1 header_changed=0
Writing spool header file
Size of headers = 237
end delivery of 12DdFX-0000RC-00