diff options
-rw-r--r-- | test/confs/0563 | 22 | ||||
-rw-r--r-- | test/scripts/0000-Basic/0563 | 2 | ||||
-rw-r--r-- | test/stderr/0563 | 41 | ||||
-rw-r--r-- | test/stdout/0563 | 2 |
4 files changed, 67 insertions, 0 deletions
diff --git a/test/confs/0563 b/test/confs/0563 new file mode 100644 index 000000000..ac9839fa2 --- /dev/null +++ b/test/confs/0563 @@ -0,0 +1,22 @@ +qualify_domain = testexim.test.ex +localpartlist aliases = joe:sam:tom + +begin routers + +router1: + driver = accept + local_parts = +aliases + condition = false + transport = local_delivery + +router2: + driver = accept + local_parts = +aliases + local_part_suffix = -real + transport = local_delivery + +begin transports + +local_delivery: + driver = appendfile + file = /tmp/${local_part} diff --git a/test/scripts/0000-Basic/0563 b/test/scripts/0000-Basic/0563 new file mode 100644 index 000000000..fde6fc6d5 --- /dev/null +++ b/test/scripts/0000-Basic/0563 @@ -0,0 +1,2 @@ +# local part prefix/suffix and named list caches (bug#615) +exim -d -bv joe-real diff --git a/test/stderr/0563 b/test/stderr/0563 new file mode 100644 index 000000000..dbbe4e08d --- /dev/null +++ b/test/stderr/0563 @@ -0,0 +1,41 @@ +Exim version x.yz .... +changed uid/gid: forcing real = effective + uid=uuuu gid=CALLER_GID pid=pppp +configuration file is TESTSUITE/test-config +admin user +changed uid/gid: privilege not needed + uid=EXIM_UID gid=EXIM_GID pid=pppp +originator: uid=CALLER_UID gid=CALLER_GID login=CALLER name=Exim Test Suite +sender address = CALLER@testexim.test.ex +Verifying: uid=EXIM_UID gid=EXIM_GID euid=EXIM_UID egid=EXIM_GID +>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +Verifying joe-real@testexim.test.ex +>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +Considering joe-real@testexim.test.ex +>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +routing joe-real@testexim.test.ex +--------> router1 router <-------- +local_part=joe-real domain=testexim.test.ex +checking local_parts +joe-real in "joe:sam:tom"? no (end of list) +joe-real in "+aliases"? no (end of list) +router1 router skipped: local_parts mismatch +--------> router2 router <-------- +local_part=joe-real domain=testexim.test.ex +stripped suffix -real +checking local_parts +joe in "joe:sam:tom"? yes (matched "joe") +joe in "+aliases"? yes (matched "+aliases") +calling router2 router +router2 router called for joe-real@testexim.test.ex + domain = testexim.test.ex +set transport local_delivery +queued for local_delivery transport: local_part = joe +domain = testexim.test.ex + errors_to=NULL + domain_data=NULL localpart_data=NULL +routed by router2 router + envelope to: joe-real@testexim.test.ex + transport: local_delivery +search_tidyup called +>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>> diff --git a/test/stdout/0563 b/test/stdout/0563 new file mode 100644 index 000000000..b444c9719 --- /dev/null +++ b/test/stdout/0563 @@ -0,0 +1,2 @@ +joe-real@testexim.test.ex + router = router2, transport = local_delivery |