Re: [Exim] Looking in aliases for local address?

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: NOC - KP^2
Dátum:  
Címzett: exim-users
Tárgy: Re: [Exim] Looking in aliases for local address?
I thought an aye aye was part of the "monkey" family? At least thats what I
was told....

I havent changed anything permissions wise on the mailbox files or within
the exim configure file. Here is the permissions on the noc mailbox file:

-rw-------   1 noc          noc             0 Aug 21 14:34 noc


Here is the full -d9 output:

su-2.05# exim -d9 noc@??? </dev/null
Exim version 3.33 debug level 9 uid=0 gid=0
probably Berkeley DB version 1.8x (native mode)
Actual local interface address is 10.1.1.247 (fxp0)
Actual local interface address is fe80:1::c0f2:bfbf:ea2b:708 (fxp0)
Actual local interface address is ::c0f2:bfbf:ea2b:708 (lo0)
Actual local interface address is fe80:2::c0f2:bfbf:ea2b:708 (lo0)
Actual local interface address is 127.0.0.1 (lo0)
Caller is an admin user
Caller is a trusted user
originator: uid=0 gid=0 login=root name=Charlie Root
sender address = root@???
set_process_info: 13584 accepting a local non-SMTP message from
<root@???>
Sender: root@???
Recipients:
noc@???
search_tidyup called
>>Original headers (size=0):


rewrite_one_header: type=F:
From: Charlie Root <root@???>
>>Final headers:

P Received: from root by snowcrash.kulish.com with local (Exim 3.33 #1)
        id 15ZIim-0003X6-00
        for noc@???; Tue, 21 Aug 2001 16:06:00 -0500
I Message-Id: <E15ZIim-0003X6-00@???>
F From: Charlie Root <root@???>
T To: noc@???
  Date: Tue, 21 Aug 2001 16:06:00 -0500


search_tidyup called
Data file written for message 15ZIim-0003X6-00
Writing spool header file
Size of headers = 291
LOG: 0 MAIN
<= root@??? U=root P=local S=292
search_tidyup called
su-2.05# exec /usr/local/sbin/exim -d9 -Mc 15ZIim-0003X6-00
Exim version 3.33 debug level 9 uid=1003 gid=6
probably Berkeley DB version 1.8x (native mode)
Actual local interface address is 10.1.1.247 (fxp0)
Actual local interface address is fe80:1::a4f2:bfbf:ea2b:708 (fxp0)
Actual local interface address is ::a4f2:bfbf:ea2b:708 (lo0)
Actual local interface address is fe80:2::a4f2:bfbf:ea2b:708 (lo0)
Actual local interface address is 127.0.0.1 (lo0)
Caller is an admin user
Caller is a trusted user
set_process_info: 13585 delivering specified messages
delivering message 15ZIim-0003X6-00
set_process_info: 13585 delivering 15ZIim-0003X6-00
Opened spool file 15ZIim-0003X6-00-H
user=root uid=0 gid=0 sender=root@???
sender_local=1 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=0 message_linecount=7
Delivery address list:
noc@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: noc@???
kulish.com in local_domains? yes (matched kulish.com)
kulish.com in percent_hack_domains? no (end of list)
unique = noc@???
dbfn_read: key=D:noc@???
noc@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing noc@???
calling system_aliases director
df_lookup entered: search type = lsearch
system_aliases director: lsearch key=noc
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="noc" partial=-1
LRU list:
7/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="noc"
file lookup required for noc
in /etc/aliases
lookup failed
system_aliases director declined for noc:
calling userforward director
userforward director: home directory for noc is "/home/noc"
match against pattern "!^/nonexistent" yielded 0
expanded string was "^/nonexistent"
userforward director: file = .forward
set uid=0 gid=6 euid=1013 egid=1013
successful stat of /home/noc/.
/home/noc/.forward not found
restored uid=0 gid=6 euid=1003 egid=6
calling localuser director
queued for local_delivery transport: local_part=noc domain=kulish.com
errors_to=NULL
domain_data=NULL local_part_data=NULL
localuser director succeeded for noc
>>>>>>>>>>>>>>>>>>>>>>>>

After directing:
  Local deliveries:
    noc@???
  Remote deliveries:
  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:noc@???
delivering noc@??? as noc using local_delivery:
uid=1013 gid=6 home=/home/noc current=/home/noc
auxiliary group list: 6
set_process_info: 13586 delivering 15ZIim-0003X6-00 to noc using
local_delivery
appendfile transport entered
appendfile: mode=660 notify_comsat=0 quota=0
file=/var/mail/noc format=unix
prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}}
${tod_bsdinbox}\n
suffix=\n
locking by lockfile fcntl
lock name: /var/mail/noc.lock
hitch name: /var/mail/noc.lock.snowcrash.kulish.com.3b82cd38.00003512
lock file created
search_tidyup called
local_delivery transport returned DEFER for noc@???
added retry item for T:noc@???: errno=-7 0 flags=0
post-process noc@??? (1)
LOG: 0 MAIN
== noc@??? T=local_delivery defer (-7): mailbox /var/mail/noc has
wrong mode 600
set_process_info: 13585 tidying up after delivering 15ZIim-0003X6-00
Processing retry items
Succeeded addresses:
Failed addresses:
Deferred addresses:
noc@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=202
noc@??? in *? yes (*)
retry for T:noc@??? = *
dbfn_read: key=T:noc@???
Writing retry data for T:noc@???
first failed=998355750 last try=998427960 next try=998456760 expired=0
error -7 0: mailbox /var/mail/noc has wrong mode 600
dbfn_write: key=T:noc@???
end of retry processing
time on queue = 0s
warning counts: required 0 done 0
LOG: 0 MAIN
Frozen
delivery deferred: update_spool=1 header_changed=0
Writing spool header file
Size of headers = 291
end delivery of 15ZIim-0003X6-00
search_tidyup called
search_tidyup called

CK
----- Original Message -----
From: "Philip Hazel" <ph10@???>
To: "NOC - KP^2" <noc@???>
Cc: <exim-users@???>
Sent: Tuesday, August 21, 2001 3:18 PM
Subject: Re: [Exim] Looking in aliases for local address?


> On Tue, 21 Aug 2001, NOC - KP^2 wrote:
>
> > This gives me a few more hints, but I am still unsure of the mode error.

I
> > did a search on the FAQ and attempted to look it up in the monkey book.

If
> > anyone can point me to a resource, I would appreciate it.
>
> > error -7 0: mailbox /var/mail/noc has wrong mode 600
>
> This error should have been reported on Exim's main log.
>
> What is the setting of the "mode" option in the local_delivery
> transport? The default is 0600. Have you changed anything? If not,
> please show us the *complete* -d9 output.

<SNIP for brevity>