[Exim] (69) errors.

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Ryan Cartwright
Data:  
Para: exim-users
Assunto: [Exim] (69) errors.
Hi,

I'm running Exim 3.34 on SuSE 7.1 (2.2.19):

I am experiencing diffculty with a vacation setup I am trying to use.
The director uses the forwardfile driver and requires a file in
/usr/local/vacation/ before running a filter file

The problem is that everything seems to run fine except the
address_reply. I am getting a (69) error reported by address_reply in
the logs and the auto-response is not delivered.

I think (69) errors refer to the fact that exim cannot call the program
it wants to, in this case itself and so I assume the problem is
something to do with either BIN_DIRECTORY or the permissions on bin/exim
itself. As far as I can see these are both ok - any ideas what I am
missing or what the problem could be?

The only other problem I can think of is that /usr/exim is a symlink to
/data/usr/exim (I didn't set this server up so I don't know why this is
so). Exim appears to acts fine with this symlink in other mail
deliveries.

Regards
Ryan Cartwright
IT Manager - Contact a Family
http://www.cafamily.org.uk

Extracts follow:-

*** Output of ls -l /usr/exim/bin/exim
-rws--x--x   1 root     root       517105 Apr 22 13:45
/usr/exim/bin/exim


*** Output of ls -ld /usr/exim
lrwxrwxrwx   1 root     root           15 Jun 25  2001 /usr/exim ->
/data/usr/exim/


*** Output of ls -l /data/usr/exim/
drwx------   5 exim     exim         4096 Apr 22 14:55 /data/usr/exim


*** Output of exim -bP exim_path - output >
exim_path = /usr/exim/bin/exim

*** mainlog extract
2002-04-22 14:49:24 16zeC4-0007qu-00 <= ryan@??? U=root
P=local S=90
4 id=002001c1e480$2f918fa0$c803a8c0@???
2002-04-22 14:49:24 16zeC4-0007qu-00 => testuser
<testuser@???> D=lo
caluser T=local_delivery
2002-04-22 14:49:24 16zeC4-0007qu-00 == >"Ryan Cartwright"
<ryan@???
> <testuser@???> T=address_reply defer (0): Failed to send

message f
rom address_reply transport (69)

*** address_repy transport quote
address_reply:
driver = autoreply

*** vacation director quote
vacation:
driver = forwardfile
check_local_user
modemask = 0023
owners = wwwrun
owngroups = nogroup
require_files = wwwrun:/usr/local/vacation/vacation_msg.${local_part}
file = /usr/local/exim_filters/vacation_filter
filter
reply_transport = address_reply

*** /usr/local/exim_filters/vacation_filter
# Exim filter

if personal then
mail
        to $header_from:
        subject "AutoReply: $h_subject:"
        text "-------------------------\nThis message has been composed
by e-mai
l software.(Exim 3.2)\nDelivery of your e-mail (subject: $h_subject:)
has not be
en affected. You should only receive one copy of this message per 7 day
period.\
nThere is nothing else you need do.\n
Thanks\n---------------------------\n\n"
        expand file "/usr/local/vacation/vacation_msg.${local_part}"
        log "/usr/local/vacation/vacation_log.${local_part}"
        once "/usr/local/vacation/vacation_once.${local_part}"
        once_repeat 7d
endif


*** -d9 output

root@proxy:/home/ryan > exim -d9 testuser <./testmessage
Exim version 3.34 debug level 9 uid=0 gid=0
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
Caller is an admin user
Caller is a trusted user
originator: uid=0 gid=0 login=root name=root
sender address = root@???
set_process_info: 30188 accepting a local non-SMTP message from
<root@???
rg.uk>
Sender: root@???
Recipients:
testuser
search_tidyup called
>>Original headers (size=906):

Return-path: <ryan@???>
Envelope-to: testuser@???
Delivery-date: Mon, 15 Apr 2002 17:19:05 +0100
Received: from [192.168.3.200] (helo=ryan)
    by proxy.cityroad.cafamily.org.uk with esmtp (Exim 3.33 #1)
    id 16x6OJ-0006by-00
    for testuser@???; Mon, 15 Apr 2002 14:19:31 +0100
Reply-To: <ryan@???>
From: "Ryan Cartwright" <ryan@???>
To: <testuser@???>
Subject: Test message final
Date: Mon, 15 Apr 2002 14:19:04 +0100
Organization: Contact a Family
Message-ID: <002001c1e480$2f918fa0$c803a8c0@???>
MIME-Version: 1.0
Content-Type: text/plain;
    charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.3416
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal


rewrite_one_header: type=R:
Reply-To: <ryan@???>
rewrite_one_header: type=F:
From: "Ryan Cartwright" <ryan@???>
rewrite_one_header: type=T:
To: <testuser@???>
>>Final headers:

P Received: from root by proxy.cityroad.cafamily.org.uk with local (Exim
3.34 #4
)
    id 16zeC4-0007qu-00
    for testuser@???; Mon, 22 Apr 2002 14:49:24 +0100
* Return-path: <ryan@???>
* Envelope-to: testuser@???
* Delivery-date: Mon, 15 Apr 2002 17:19:05 +0100
P Received: from [192.168.3.200] (helo=ryan)
    by proxy.cityroad.cafamily.org.uk with esmtp (Exim 3.33 #1)
    id 16x6OJ-0006by-00
    for testuser@???; Mon, 15 Apr 2002 14:19:31 +0100
R Reply-To: <ryan@???>
F From: "Ryan Cartwright" <ryan@???>
T To: <testuser@???>
  Subject: Test message final
  Date: Mon, 15 Apr 2002 14:19:04 +0100
  Organization: Contact a Family
I Message-ID: <002001c1e480$2f918fa0$c803a8c0@???>
  MIME-Version: 1.0
  Content-Type: text/plain;
    charset="iso-8859-1"
  Content-Transfer-Encoding: 7bit
  X-Priority: 3 (Normal)
  X-MSMail-Priority: Normal
  X-Mailer: Microsoft Outlook, Build 10.0.3416
  X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
  Importance: Normal


search_tidyup called
Data file written for message 16zeC4-0007qu-00
Writing spool header file
Size of headers = 898
LOG: 0 MAIN
<= ryan@??? U=root P=local S=904
id=002001c1e480$2f918fa0$c803a8c0
@cityroad.cafamily.org.uk
search_tidyup called
exec /usr/exim/bin/exim -d9 -Mc 16zeC4-0007qu-00
root@proxy:/data/home/ryan > Exim version 3.34 debug level 9 uid=101
gid=101
Berkeley DB: Sleepycat Software: DB 2.4.14: (6/2/98)
Caller is an admin user
Caller is a trusted user
set_process_info: 30189 delivering specified messages
delivering message 16zeC4-0007qu-00
set_process_info: 30189 delivering 16zeC4-0007qu-00
Opened spool file 16zeC4-0007qu-00-H
user=root uid=0 gid=0 sender=ryan@???
sender_local=0 resent=no ident=root
Non-recipients:
Empty Tree
---- End of tree ----
recipients_count=1
body_linecount=1 message_linecount=23
running system filter as uid=0 gid=101 euid=101 egid=101
Filter: start of processing
Filter: end of processing
Delivery address list:
testuser@???
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: testuser@???
cafamily.org.uk in local_domains? yes (matched cafamily.org.uk)
cafamily.org.uk in percent_hack_domains? no (end of list)
unique = testuser@???
dbfn_read: key=D:testuser@???
testuser@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

directing testuser@???
calling system_aliases director
df_lookup entered: search type = lsearch
system_aliases director: lsearch key=testuser
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
search_find: file="/etc/aliases"
key="testuser" partial=-1
LRU list:
7/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="testuser"
file lookup required for testuser
in /etc/aliases
lookup failed
system_aliases director declined for testuser:
calling userforward director
userforward director: file = .forward
set uid=0 gid=101 euid=546 egid=100
successful stat of /home/testuser/.
/home/testuser/.forward not found
restored uid=0 gid=101 euid=101 egid=101
calling vacation director
require_files = wwwrun:/usr/local/vacation/vacation_msg.testuser
require files uid=0 gid=101 euid=30 egid=65534
test existence of /usr/local/vacation/vacation_msg.testuser
required present, EACCES => unknown
Success
restored uid=0 gid=101 euid=101 egid=101
vacation director: file = /usr/local/exim_filters/vacation_filter
set uid=0 gid=101 euid=30 egid=65534
700 bytes read from /usr/local/exim_filters/vacation_filter
file is a filter file
Filter: start of processing
Filter: end of processing
restored uid=0 gid=101 euid=101 egid=101
vacation director generated >"Ryan Cartwright" <ryan@???>
pipe, file, or autoreply
errors_to=NULL transport=address_reply
uid=30 gid=65534 home=/var/lib/wwwrun
vacation director generated testuser@???
vacation director succeeded for testuser
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: testuser@???
cafamily.org.uk in local_domains? yes (matched cafamily.org.uk)
cafamily.org.uk in percent_hack_domains? no (end of list)
unique = \testuser@???
dbfn_read: key=D:testuser@???
testuser@???: queued for directing
>>>>>>>>>>>>>>>>>>>>>>>>

Considering: >"Ryan Cartwright" <ryan@???>
unique = >"Ryan Cartwright"
<ryan@???>:testuser@???
>>>>>>>>>>>>>>>>>>>>>>>>

directing testuser@???
calling system_aliases director
df_lookup entered: search type = lsearch
system_aliases director: lsearch key=testuser
file="/etc/aliases"
search_open: lsearch "/etc/aliases"
cached open
search_find: file="/etc/aliases"
key="testuser" partial=-1
LRU list:
7/etc/aliases
End
internal_search_find: file="/etc/aliases"
type=lsearch key="testuser"
cached data used for lookup of testuser
in /etc/aliases
lookup failed
system_aliases director declined for testuser:
calling userforward director
userforward director: file = .forward
set uid=0 gid=101 euid=546 egid=100
successful stat of /home/testuser/.
/home/testuser/.forward not found
restored uid=0 gid=101 euid=101 egid=101
vacation director skipped: previously directed testuser@???
calling localuser director
queued for local_delivery transport: local_part=testuser
domain=cafamily.org.uk
errors_to=NULL
domain_data=NULL local_part_data=NULL
localuser director succeeded for testuser
>>>>>>>>>>>>>>>>>>>>>>>>

After directing:
  Local deliveries:
    testuser@???
    >"Ryan Cartwright" <ryan@???>
  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:testuser@???
delivering testuser@??? as testuser using local_delivery:
uid=546 gid=12 home=/home/testuser current=/home/testuser
auxiliary group list: <none>
set_process_info: 30190 delivering 16zeC4-0007qu-00 to testuser using
local_deli
very
appendfile transport entered
appendfile: mode=660 notify_comsat=0 quota=0
file=/var/spool/mail/testuser format=unix
prefix=From ${if def:return_path{$return_path}{MAILER-DAEMON}}
${tod_bsdinbox}
\n
suffix=\n
locking by lockfile fcntl
lock name: /var/spool/mail/testuser.lock
hitch name:
/var/spool/mail/testuser.lock.proxy.cityroad.cafamily.org.uk.3cc414e
4.000075ee
lock file created
mailbox /var/spool/mail/testuser is locked
writing to file /var/spool/mail/testuser
writing data block fd=6 size=51 timeout=0
writing data block fd=6 size=1025 timeout=0
writing data block fd=6 size=1 timeout=0
appendfile yields 0 with errno=0 more_errno=0
search_tidyup called
journalled \testuser@???
local_delivery transport returned OK for testuser@???
post-process testuser@??? (0)
testuser@??? succeeded: adding to nonrecipients list
LOG: 0 MAIN
=> testuser <testuser@???> D=localuser T=local_delivery
locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=0
dbfn_read: key=T:>"Ryan Cartwright"
<ryan@???>@cafamily.org.uk
delivering >"Ryan Cartwright" <ryan@???> as >"Ryan
Cartwright" <ryan
@cafamily.org.uk> using address_reply:
uid=30 gid=65534 home=/var/lib/wwwrun current=/var/lib/wwwrun
auxiliary group list: <none>
set_process_info: 30191 delivering 16zeC4-0007qu-00 to >"Ryan
Cartwright" <ryan@
cafamily.org.uk> using address_reply
address_reply transport entered
taking data from address
no previous message sent to "Ryan Cartwright" <ryan@???>
address_reply transport succeeded
search_tidyup called
address_reply transport returned DEFER for >"Ryan Cartwright"
<ryan@???
.uk>
added retry item for T:>"Ryan Cartwright"
<ryan@???>@cafamily.org.uk
: errno=0 0 flags=0
post-process >"Ryan Cartwright" <ryan@???> (1)
LOG: 0 MAIN
== >"Ryan Cartwright" <ryan@???>
<testuser@???> T=addr
ess_reply defer (0): Failed to send message from address_reply transport
(69)
set_process_info: 30189 tidying up after delivering 16zeC4-0007qu-00
Processing retry items
Succeeded addresses:
testuser@???: no retry items
testuser@???: no retry items
testuser@???: no retry items
Failed addresses:
Deferred addresses:
>"Ryan Cartwright" <ryan@???>

locked /var/spool/exim/db/retry.lockfile
opened DB file /var/spool/exim/db/retry: flags=42
>"Ryan Cartwright" <ryan@???>@cafamily.org.uk in *? yes (*)

retry for T:>"Ryan Cartwright" <ryan@???>@cafamily.org.uk =
*
dbfn_read: key=T:>"Ryan Cartwright"
<ryan@???>@cafamily.org.uk
Writing retry data for T:>"Ryan Cartwright"
<ryan@???>@cafamily.org.
uk
first failed=1019483364 last try=1019483364 next try=1019484264
expired=0
error 0 0: Failed to send message from address_reply transport (69)
dbfn_write: key=T:>"Ryan Cartwright"
<ryan@???>@cafamily.org.uk
testuser@???: no retry items
end of retry processing
time on queue = 0s
warning counts: required 0 done 0
delivery deferred: update_spool=1 header_changed=0
Writing spool header file
Size of headers = 898
end delivery of 16zeC4-0007qu-00
search_tidyup called
search_tidyup called

*** END