retry_update(address_item ** addr_defer, address_item ** addr_failed,
address_item ** addr_succeed)
{
-open_db dbblock;
-open_db *dbm_file = NULL;
+open_db dbblock, * dbm_file = NULL;
time_t now = time(NULL);
-DEBUG(D_retry) debug_printf("Processing retry items\n");
+DEBUG(D_retry) { debug_printf("Processing retry items\n"); acl_level++; }
/* Three-times loop to handle succeeded, failed, and deferred addresses.
Deferred addresses must be handled after failed ones, because some may be moved
address_item ** paddr = i==0 ? addr_succeed : i==1 ? addr_failed : addr_defer;
address_item ** saved_paddr = NULL;
- DEBUG(D_retry) debug_printf("%s addresses:\n",
+ DEBUG(D_retry) debug_printf_indent("%s addresses:\n",
i == 0 ? "Succeeded" : i == 1 ? "Failed" : "Deferred");
/* Loop for each address on the chain. For deferred addresses, the whole
int update_count = 0;
int timedout_count = 0;
- DEBUG(D_retry) debug_printf(" %s%s\n", addr->address,
+ DEBUG(D_retry) debug_printf_indent(" %s%s\n", addr->address,
addr->retries ? "" : ": no retry items");
/* Loop for each retry item. */
if (!dbm_file)
{
DEBUG(D_deliver|D_retry|D_hints_lookup)
- debug_printf("retry database not available for updating\n");
+ debug_printf_indent("retry database not available for updating\n");
return;
}
{
(void)dbfn_delete(dbm_file, rti->key);
DEBUG(D_retry)
- debug_printf("deleted retry information for %s\n", rti->key);
+ debug_printf_indent("deleted retry information for %s\n", rti->key);
continue;
}
rti->flags & rf_host ? addr->domain : NULL,
rti->basic_errno, rti->more_errno)))
{
- DEBUG(D_retry) debug_printf("No configured retry item for %s%s%s\n",
+ DEBUG(D_retry) debug_printf_indent("No configured retry item for %s%s%s\n",
rti->key,
rti->flags & rf_host ? US" or " : US"",
rti->flags & rf_host ? addr->domain : US"");
DEBUG(D_retry)
if (rti->flags & rf_host)
- debug_printf("retry for %s (%s) = %s %d %d\n", rti->key,
+ debug_printf_indent("retry for %s (%s) = %s %d %d\n", rti->key,
addr->domain, retry->pattern, retry->basic_errno,
retry->more_errno);
else
- debug_printf("retry for %s = %s %d %d\n", rti->key, retry->pattern,
+ debug_printf_indent("retry for %s = %s %d %d\n", rti->key, retry->pattern,
retry->basic_errno, retry->more_errno);
/* Set up the message for the database retry record. Because DBM
/* Compute how long this destination has been failing */
failing_interval = now - retry_record->first_failed;
- DEBUG(D_retry) debug_printf("failing_interval=%d message_age=%d\n",
+ DEBUG(D_retry) debug_printf_indent("failing_interval=%d message_age=%d\n",
failing_interval, message_age);
/* For a non-host error, if the message has been on the queue longer
;
if (now - received_time.tv_sec > last_rule->timeout)
{
- DEBUG(D_retry) debug_printf("on queue longer than maximum retry\n");
+ DEBUG(D_retry) debug_printf_indent("on queue longer than maximum retry\n");
timedout_count++;
rule = NULL;
}
DEBUG(D_retry)
{
int letter = retry_record->more_errno & 255;
- debug_printf("Writing retry data for %s\n", rti->key);
- debug_printf(" first failed=%d last try=%d next try=%d expired=%d\n",
+ debug_printf_indent("Writing retry data for %s\n", rti->key);
+ debug_printf_indent(" first failed=%d last try=%d next try=%d expired=%d\n",
(int)retry_record->first_failed, (int)retry_record->last_try,
(int)retry_record->next_try, retry_record->expired);
- debug_printf(" errno=%d more_errno=", retry_record->basic_errno);
+ debug_printf_indent(" errno=%d more_errno=", retry_record->basic_errno);
if (letter == 'A' || letter == 'M')
debug_printf("%d,%c", (retry_record->more_errno >> 8) & 255,
letter);
if (update_count > 0 && update_count == timedout_count)
if (!testflag(endaddr, af_retry_skipped))
{
- DEBUG(D_retry) debug_printf("timed out: all retries expired\n");
+ DEBUG(D_retry) debug_printf_indent("timed out: all retries expired\n");
timed_out = TRUE;
}
else
DEBUG(D_retry)
- debug_printf("timed out but some hosts were skipped\n");
+ debug_printf_indent("timed out but some hosts were skipped\n");
} /* Loop for an address and its parents */
/* If this is a deferred address, and retry processing was requested by
if (dbm_file) dbfn_close(dbm_file);
-DEBUG(D_retry) debug_printf("end of retry processing\n");
+DEBUG(D_retry) { acl_level--; debug_printf("end of retry processing\n"); }
}
/* End of retry.c */
s/\d\d-\w\w\w-\d\d\d\d\s\d\d:\d\d:\d\d\s[-+]\d\d\d\d,/06-Sep-1999 15:52:48 +0100,/gx;
# Dates/times in debugging output for writing retry records
- if (/^ first failed=(\d+) last try=(\d+) next try=(\d+) (.*)$/)
+ if (/^(\s+)first failed=(\d+) last try=(\d+) next try=(\d+) (.*)$/)
{
- my($next) = $3 - $2;
- $_ = " first failed=dddd last try=dddd next try=+$next $4\n";
+ my($next) = $4 - $3;
+ $_ = "$1first failed=dddd last try=dddd next try=+$next $5\n";
}
s/^(\s*)now=\d+ first_failed=\d+ next_try=\d+ expired=(\w)/$1now=tttt first_failed=tttt next_try=tttt expired=$2/;
s/^(\s*)received_time=\d+ diff=\d+ timeout=(\d+)/$1received_time=tttt diff=tttt timeout=$2/;
rz.b@outside
>>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- rz.b@outside
-*@outside in "^\*@r5domain.ex"? no (end of list)
-*@outside in "userx@test.ex"? no (end of list)
-outside in "test.ex"? no (end of list)
-*@outside in "test.ex"? no (end of list)
-retry for R:outside = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:outside
- first failed=dddd last try=dddd next try=+300 expired=0
- errno=-1 more_errno=dd not just now
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ rz.b@outside
+ *@outside in "^\*@r5domain.ex"? no (end of list)
+ *@outside in "userx@test.ex"? no (end of list)
+ outside in "test.ex"? no (end of list)
+ *@outside in "test.ex"? no (end of list)
+ retry for R:outside = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:outside
+ first failed=dddd last try=dddd next try=+300 expired=0
+ errno=-1 more_errno=dd not just now
end of retry processing
time on queue = 0s id 10HmbJ-000000005vi-0000 addr rz.b@outside
warning counts: required 0 done 0
uid=EXIM_UID gid=EXIM_GID pid=p1236
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r3
DSN: processing successful delivery address: userx@test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1236
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- CALLER@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ CALLER@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r3
DSN: processing successful delivery address: CALLER@test.ex
LOG: MAIN
== userx@test.ex R=r1 T=t1 defer (-44) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- userx@test.ex
-retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:userx@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+2 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ userx@test.ex
+ retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:userx@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+2 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1238 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Exim pid=p1237 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: MAIN
== userx@test.ex R=r1 T=t1 defer (-44) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- userx@test.ex
-deleted retry information for R:userx@test.ex
-deleted retry information for R:test.ex
-retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:userx@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+2 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ userx@test.ex
+ deleted retry information for R:userx@test.ex
+ deleted retry information for R:test.ex
+ retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:userx@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+2 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1241 (qrun-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: queue_run MAIN
LOG: MAIN
== userx@test.ex R=r1 T=t1 defer (-44) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- userx@test.ex
-deleted retry information for R:userx@test.ex
-deleted retry information for R:test.ex
-retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:userx@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+4 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ userx@test.ex
+ deleted retry information for R:userx@test.ex
+ deleted retry information for R:test.ex
+ retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:userx@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+4 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1243 (qrun-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: queue_run MAIN
Deferred addresses:
userx@test.ex
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- userx@test.ex: no retry items
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ userx@test.ex: no retry items
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1244 (qrun-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: queue_run MAIN
LOG: MAIN
== usery@test.ex R=r1 T=t1 defer (-44) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@test.ex>: 451 Temporary error
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- usery@test.ex
-retry for R:usery@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:usery@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+2 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@test.ex>: 451 Temporary error
- userx@test.ex
-retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:userx@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+2 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ usery@test.ex
+ retry for R:usery@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:usery@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+2 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@test.ex>: 451 Temporary error
+ userx@test.ex
+ retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:userx@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+2 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: MAIN
== usery@test.ex R=r1 T=t1 defer (-44) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@test.ex>: 451 Temporary error
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- usery@test.ex
-deleted retry information for R:usery@test.ex
-deleted retry information for R:test.ex
-retry for R:usery@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:usery@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+4 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@test.ex>: 451 Temporary error
- userx@test.ex
-deleted retry information for R:userx@test.ex
-deleted retry information for R:test.ex
-retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:userx@test.ex:<CALLER@test.ex>
- first failed=dddd last try=dddd next try=+4 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ usery@test.ex
+ deleted retry information for R:usery@test.ex
+ deleted retry information for R:test.ex
+ retry for R:usery@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:usery@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+4 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<usery@test.ex>: 451 Temporary error
+ userx@test.ex
+ deleted retry information for R:userx@test.ex
+ deleted retry information for R:test.ex
+ retry for R:userx@test.ex:<CALLER@test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:userx@test.ex:<CALLER@test.ex>
+ first failed=dddd last try=dddd next try=+4 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<userx@test.ex>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1239 (qrun-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: queue_run MAIN
uid=EXIM_UID gid=EXIM_GID pid=p1236
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- 2@b: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ 2@b: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: 2@b
uid=EXIM_UID gid=EXIM_GID pid=p1238
set_process_info: pppp tidying up after delivering 10HmaY-000000005vi-0000
Processing retry items
-Succeeded addresses:
- 2@b: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ 2@b: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: 2@b
uid=EXIM_UID gid=EXIM_GID pid=p1234
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- x@y
- EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
- returned from EXIM_DBOPEN: 0xAAAAAAAA
- opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
- x@y in "*"?
- list element: *
- address match test: subject=x@y pattern=*
- y in "*"?
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ x@y
+ EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
+ returned from EXIM_DBOPEN: 0xAAAAAAAA
+ opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
+ x@y in "*"?
list element: *
- y in "*"? yes (matched "*")
- x@y in "*"? yes (matched "*")
-retry for R:x@y = * 0 0
- dbfn_read: key=R:x@y
- dbfn_read: null return
-failing_interval=ttt message_age=ttt
-Writing retry data for R:x@y
- first failed=dddd last try=dddd next try=+1 expired=1
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
- dbfn_write: key=R:x@y datalen 148
- *@V4NET.0.0.0 in "*"?
- list element: *
- address match test: subject=*@V4NET.0.0.0 pattern=*
- V4NET.0.0.0 in "*"?
+ address match test: subject=x@y pattern=*
+ y in "*"?
+ ╎list element: *
+ ╎y in "*"? yes (matched "*")
+ x@y in "*"? yes (matched "*")
+ retry for R:x@y = * 0 0
+ dbfn_read: key=R:x@y
+ dbfn_read: null return
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:x@y
+ first failed=dddd last try=dddd next try=+1 expired=1
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
+ dbfn_write: key=R:x@y datalen 148
+ *@V4NET.0.0.0 in "*"?
list element: *
- V4NET.0.0.0 in "*"? yes (matched "*")
- *@V4NET.0.0.0 in "*"? yes (matched "*")
-retry for T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S (y) = * 0 0
- dbfn_read: key=T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S
- dbfn_read: null return
-failing_interval=ttt message_age=ttt
-on queue longer than maximum retry
-Writing retry data for T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S
- first failed=dddd last try=dddd next try=+0 expired=0
- errno=dd more_errno=dd,A Network Error
- dbfn_write: key=T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S datalen 70
-timed out: all retries expired
+ address match test: subject=*@V4NET.0.0.0 pattern=*
+ V4NET.0.0.0 in "*"?
+ ╎list element: *
+ ╎V4NET.0.0.0 in "*"? yes (matched "*")
+ *@V4NET.0.0.0 in "*"? yes (matched "*")
+ retry for T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S (y) = * 0 0
+ dbfn_read: key=T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S
+ dbfn_read: null return
+ failing_interval=ttt message_age=ttt
+ on queue longer than maximum retry
+ Writing retry data for T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S
+ first failed=dddd last try=dddd next try=+0 expired=0
+ errno=dd more_errno=dd,A Network Error
+ dbfn_write: key=T:[V4NET.0.0.0]:V4NET.0.0.0:PORT_S datalen 70
+ timed out: all retries expired
LOG: MAIN
** x@y: retry timeout exceeded
- EXIM_DBCLOSE(0xAAAAAAAA)
- closed hints database
+ EXIM_DBCLOSE(0xAAAAAAAA)
+ closed hints database
end of retry processing
exec TESTSUITE/eximdir/exim -DEXIM_PATH=TESTSUITE/eximdir/exim -C TESTSUITE/test-config -d=0xd7715ced -MCd bounce-message -odi -odi -t -oem -oi -f <> -E10HmaX-000000005vi-0000
Exim version x.yz ....
uid=EXIM_UID gid=EXIM_GID pid=p1237
set_process_info: pppp tidying up after delivering 10HmaY-000000005vi-0000
Processing retry items
-Succeeded addresses:
- CALLER@myhost.test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ CALLER@myhost.test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
LOG: MAIN
Completed
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userz@test.ex: no retry items
- usery@test.ex: no retry items
- CALLER@test.ex: no retry items
- TESTSUITE/test-mail/junk: no retry items
- rd+CALLER@test.ex: no retry items
- TESTSUITE/test-mail/junk: no retry items
- rd+usery@test.ex: no retry items
- rd+CALLER@test.ex: no retry items
- rd+usery@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userz@test.ex: no retry items
+ usery@test.ex: no retry items
+ CALLER@test.ex: no retry items
+ TESTSUITE/test-mail/junk: no retry items
+ rd+CALLER@test.ex: no retry items
+ TESTSUITE/test-mail/junk: no retry items
+ rd+usery@test.ex: no retry items
+ rd+CALLER@test.ex: no retry items
+ rd+usery@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r3
DSN: processing successful delivery address: userz@test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1239
set_process_info: pppp tidying up after delivering 10HmaY-000000005vi-0000
Processing retry items
-Succeeded addresses:
- sender@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ sender@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: sender@test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- >sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex, ...: no retry items
- userx@test.ex: no retry items
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ >sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex, ...: no retry items
+ userx@test.ex: no retry items
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r2
DSN: processing successful delivery address: >sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex,sender@test.ex, ...
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: userx@test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: userx@test.ex
LOG: MAIN
== TESTSUITE/test-mail/rmbox <x@test.ex> R=r1 T=t1 defer (-22): mailbox is full (MTA-imposed quota exceeded while writing to TESTSUITE/test-mail/rmbox)
Processing retry items
-Succeeded addresses:
- x@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
- TESTSUITE/test-mail/rmbox
-retry for T:TESTSUITE/test-mail/rmbox:x@test.ex = *@test.ex -22 0
-failing_interval=ttt message_age=ttt
-Writing retry data for T:TESTSUITE/test-mail/rmbox:x@test.ex
- first failed=dddd last try=dddd next try=+900 expired=0
- errno=-22 more_errno=dd mailbox is full (MTA-imposed quota exceeded while writing to TESTSUITE/test-mail/rmbox)
- x@test.ex: no retry items
+ Succeeded addresses:
+ x@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
+ TESTSUITE/test-mail/rmbox
+ retry for T:TESTSUITE/test-mail/rmbox:x@test.ex = *@test.ex -22 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for T:TESTSUITE/test-mail/rmbox:x@test.ex
+ first failed=dddd last try=dddd next try=+900 expired=0
+ errno=-22 more_errno=dd mailbox is full (MTA-imposed quota exceeded while writing to TESTSUITE/test-mail/rmbox)
+ x@test.ex: no retry items
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1236 (local-accept-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Exim pid=p1235 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: retry_defer MAIN
== TESTSUITE/test-mail/rmbox <x@test.ex> R=r1 T=t1 defer (-53): Retry time not yet reached
Processing retry items
-Succeeded addresses:
- x@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
- TESTSUITE/test-mail/rmbox: no retry items
- x@test.ex: no retry items
+ Succeeded addresses:
+ x@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
+ TESTSUITE/test-mail/rmbox: no retry items
+ x@test.ex: no retry items
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1238 (qrun-delivery) terminating with rc=0 >>>>>>>>>>>>>>>>
LOG: queue_run MAIN
LOG: MAIN
== x@y R=r1 T=smtp defer (-44) H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- x@y
-retry for R:x@y:<CALLER@myhost.test.ex> = * 0 0
-failing_interval=ttt message_age=ttt
-Writing retry data for R:x@y:<CALLER@myhost.test.ex>
- first failed=dddd last try=dddd next try=+2 expired=0
- errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ x@y
+ retry for R:x@y:<CALLER@myhost.test.ex> = * 0 0
+ failing_interval=ttt message_age=ttt
+ Writing retry data for R:x@y:<CALLER@myhost.test.ex>
+ first failed=dddd last try=dddd next try=+2 expired=0
+ errno=-44 more_errno=dd,A H=127.0.0.1 [127.0.0.1]: SMTP error from remote mail server after RCPT TO:<x@y>: 451 Temporary error
end of retry processing
>>>>>>>>>>>>>>>> Exim pid=p1234 (fresh-exec) terminating with rc=0 >>>>>>>>>>>>>>>>
Exim version x.yz ....
LOG: MAIN
=> x@y R=r1 T=smtp H=127.0.0.1 [127.0.0.1] C="250 OK"
Processing retry items
-Succeeded addresses:
- x@y
-deleted retry information for R:x@y:<CALLER@myhost.test.ex>
-deleted retry information for R:x@y
-deleted retry information for R:y
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ x@y
+ deleted retry information for R:x@y:<CALLER@myhost.test.ex>
+ deleted retry information for R:x@y
+ deleted retry information for R:y
+ Failed addresses:
+ Deferred addresses:
end of retry processing
LOG: MAIN
Completed
uid=EXIM_UID gid=EXIM_GID pid=p1239
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userx@myhost.test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userx@myhost.test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: userx@myhost.test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1237
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- ph10@myhost.test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ ph10@myhost.test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: ph10@myhost.test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1238
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- CALLER@myhost.test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ CALLER@myhost.test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: CALLER@myhost.test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- TESTSUITE/test-mail: no retry items
- userx@test.ex: no retry items
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ TESTSUITE/test-mail: no retry items
+ userx@test.ex: no retry items
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: TESTSUITE/test-mail
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- nofile@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ nofile@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: nofile@test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1238
set_process_info: pppp tidying up after delivering 10HmaY-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: userx@test.ex
uid=EXIM_UID gid=EXIM_GID pid=p1241
set_process_info: pppp tidying up after delivering 10HmaZ-000000005vi-0000
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- userx@test.ex
- EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
- returned from EXIM_DBOPEN: 0xAAAAAAAA
- opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
- userx@test.ex in "*"?
- list element: *
- address match test: subject=userx@test.ex pattern=*
- test.ex in "*"?
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ userx@test.ex
+ EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
+ returned from EXIM_DBOPEN: 0xAAAAAAAA
+ opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
+ userx@test.ex in "*"?
list element: *
- test.ex in "*"? yes (matched "*")
- userx@test.ex in "*"? yes (matched "*")
-retry for T:userx@test.ex = * 0 0
- dbfn_read: key=T:userx@test.ex
- dbfn_read: null return
-failing_interval=ttt message_age=ttt
-Writing retry data for T:userx@test.ex
- first failed=dddd last try=dddd next try=+86400 expired=0
- errno=-22 more_errno=dd mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex)
- dbfn_write: key=T:userx@test.ex datalen 154
- EXIM_DBCLOSE(0xAAAAAAAA)
- closed hints database
+ address match test: subject=userx@test.ex pattern=*
+ test.ex in "*"?
+ ╎list element: *
+ ╎test.ex in "*"? yes (matched "*")
+ userx@test.ex in "*"? yes (matched "*")
+ retry for T:userx@test.ex = * 0 0
+ dbfn_read: key=T:userx@test.ex
+ dbfn_read: null return
+ failing_interval=ttt message_age=ttt
+ Writing retry data for T:userx@test.ex
+ first failed=dddd last try=dddd next try=+86400 expired=0
+ errno=-22 more_errno=dd mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex)
+ dbfn_write: key=T:userx@test.ex datalen 154
+ EXIM_DBCLOSE(0xAAAAAAAA)
+ closed hints database
end of retry processing
delivery deferred: update_spool=1 header_rewritten=0
Writing spool header file: TESTSUITE/spool//input//hdr.10HmaZ-000000005vi-0000
uid=EXIM_UID gid=EXIM_GID pid=p1244
set_process_info: pppp tidying up after delivering 10HmbA-000000005vi-0000
Processing retry items
-Succeeded addresses:
-Failed addresses:
-Deferred addresses:
- userx@test.ex
- EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
- returned from EXIM_DBOPEN: 0xAAAAAAAA
- opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
- userx@test.ex in "*"?
- list element: *
- address match test: subject=userx@test.ex pattern=*
- test.ex in "*"?
+ Succeeded addresses:
+ Failed addresses:
+ Deferred addresses:
+ userx@test.ex
+ EXIM_DBOPEN: file <TESTSUITE/spool/db/retry> dir <TESTSUITE/spool/db> flags=O_RDWR
+ returned from EXIM_DBOPEN: 0xAAAAAAAA
+ opened hints database TESTSUITE/spool/db/retry: flags=O_RDWR
+ userx@test.ex in "*"?
list element: *
- test.ex in "*"? yes (matched "*")
- userx@test.ex in "*"? yes (matched "*")
-retry for T:userx@test.ex = * 0 0
- dbfn_read: key=T:userx@test.ex
- dbfn_read: size 154 return
-failing_interval=ttt message_age=ttt
-Writing retry data for T:userx@test.ex
- first failed=dddd last try=dddd next try=+86400 expired=0
- errno=-22 more_errno=dd mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex)
- dbfn_write: key=T:userx@test.ex datalen 154
- EXIM_DBCLOSE(0xAAAAAAAA)
- closed hints database
+ address match test: subject=userx@test.ex pattern=*
+ test.ex in "*"?
+ ╎list element: *
+ ╎test.ex in "*"? yes (matched "*")
+ userx@test.ex in "*"? yes (matched "*")
+ retry for T:userx@test.ex = * 0 0
+ dbfn_read: key=T:userx@test.ex
+ dbfn_read: size 154 return
+ failing_interval=ttt message_age=ttt
+ Writing retry data for T:userx@test.ex
+ first failed=dddd last try=dddd next try=+86400 expired=0
+ errno=-22 more_errno=dd mailbox is full (MTA-imposed quota exceeded while writing to tmp/MAILDIR.myhost.test.ex)
+ dbfn_write: key=T:userx@test.ex datalen 154
+ EXIM_DBCLOSE(0xAAAAAAAA)
+ closed hints database
end of retry processing
delivery deferred: update_spool=1 header_rewritten=0
Writing spool header file: TESTSUITE/spool//input//hdr.10HmbA-000000005vi-0000
uid=EXIM_UID gid=EXIM_GID pid=p1235
set_process_info: pppp tidying up after delivering 10HmaX-000000005vi-0000
Processing retry items
-Succeeded addresses:
- userx@test.ex: no retry items
-Failed addresses:
-Deferred addresses:
+ Succeeded addresses:
+ userx@test.ex: no retry items
+ Failed addresses:
+ Deferred addresses:
end of retry processing
DSN: processing router : r1
DSN: processing successful delivery address: userx@test.ex