[Exim] uucp and exim4

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Randy Bush
Date:  
À: exim users
Sujet: [Exim] uucp and exim4
freebsd -stable as of yesterday
exim 4.04

problem appears at <<<<***********

# ./exim -d -bt
Exim version 4.04 uid=0 gid=0 pid=69409 L=834cd8 D=fff7577f
probably Berkeley DB version 1.8x (native mode)
changed uid/gid: forcing real = effective
uid=0 gid=0
auxiliary group list: 0
trusted user
admin user
originator: uid=0 gid=0 login=root name=System Administrator
sender address = root@???
Address testing: uid=0 gid=106 euid=0 egid=106
> foo@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Testing foo@???
address match: subject=foo@??? pattern=^([^!]+)!(.*)$
foo@??? in "^([^!]+)!(.*)$"? no (end of list)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering foo@???
active address foo@???
local_part=foo domain=frob.net.lr
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing foo@???
--------> force_uucp router <--------
local_part=foo domain=frob.net.lr
checking domains
search_open: lsearch "/usr/local/etc/exim/ro4.uucp"
search_find: file="/usr/local/etc/exim/ro4.uucp"
  key="frob.net.lr" partial=-1
LRU list:
  8/usr/local/etc/exim/ro4.uucp
  End
internal_search_find: file="/usr/local/etc/exim/ro4.uucp"
  type=lsearch key="frob.net.lr"
file lookup required for frob.net.lr
  in /usr/local/etc/exim/ro4.uucp
lookup yielded: lib                     uux
frob.net.lr in "lsearch;/usr/local/etc/exim/ro4.uucp"? yes (matched "lsearch;/usr/local/etc/exim/ro4.uucp")
calling force_uucp router
force_uucp router called for foo@???
  domain = frob.net.lr
search_open: lsearch "/usr/local/etc/exim/ro4.uucp"
  cached open
search_find: file="/usr/local/etc/exim/ro4.uucp"
  key="frob.net.lr" partial=2
LRU list:
  8/usr/local/etc/exim/ro4.uucp
  End
internal_search_find: file="/usr/local/etc/exim/ro4.uucp"
  type=lsearch key="frob.net.lr"
cached data used for lookup of frob.net.lr
  in /usr/local/etc/exim/ro4.uucp
lookup yielded: lib                     uux
original hostlist=lib options=uux
expanded hostlist="lib" options=uux
force_uucp router: defer for foo@???
  message: lookup of host "lib" failed in force_uucp router   <<<<***********
foo@??? cannot be resolved at this time:
  lookup of host "lib" failed in force_uucp router

> ^D

search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=69409 terminating with rc=1 >>>>>>>>>>>>>>>>>>



the entry in /usr/local/etc/exim/ro4.uucp looks like

frob.net.lr:           lib                     uux



the router

force_uucp:
driver = manualroute
domains = lsearch;/usr/local/etc/exim/ro4.uucp
route_data = ${lookup{$domain}partial-lsearch{/usr/local/etc/exim/ro4.uucp}}
transport = uux

and the transport

uux:
driver = pipe
command = "/usr/bin/uux - -r $host!rmail ($local_part@$domain)"
path = "/usr/local/bin:/usr/bin:/bin"
return_fail_output
user = uucp

randy