[exim-cvs] cvs commit: exim/exim-test/confs 0563 exim/exim-…

Góra strony
Delete this message
Reply to this message
Autor: Tony Finch
Data:  
Dla: exim-cvs
Temat: [exim-cvs] cvs commit: exim/exim-test/confs 0563 exim/exim-test/scripts/0000-Basic 0563 exim/exim-test/stderr 0563 exim/exim-test/stdout 0563
fanf2 2008/02/07 18:20:46 GMT

  Added files:
    exim-test/confs      0563 
    exim-test/scripts/0000-Basic 0563 
    exim-test/stderr     0563 
    exim-test/stdout     0563 
  Log:
  Add regression test for bug#615


  Revision  Changes    Path
  1.1       +22 -0     exim/exim-test/confs/0563 (new)
  1.1       +2 -0      exim/exim-test/scripts/0000-Basic/0563 (new)
  1.1       +41 -0     exim/exim-test/stderr/0563 (new)
  1.1       +2 -0      exim/exim-test/stdout/0563 (new)


Index: 0563
====================================================================
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}


Index: 0563
====================================================================
# local part prefix/suffix and named list caches (bug#615)
exim -d -bv joe-real

  Index: 0563
  ====================================================================
  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@???
  Verifying: uid=EXIM_UID gid=EXIM_GID euid=EXIM_UID egid=EXIM_GID

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

Verifying joe-real@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering joe-real@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

  routing joe-real@???
  --------> 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@???
    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@???
    transport: local_delivery
  search_tidyup called

>>>>>>>>>>>>>>>> Exim pid=pppp terminating with rc=0 >>>>>>>>>>>>>>>>


  Index: 0563
  ====================================================================
  joe-real@???
    router = router2, transport = local_delivery