Hi,
I have recently installed exim-4.80.1 and looks like exim is not talking to LDAP as expected.
Below is the output of my troubleshooting, Not sure what is the issue. Can you please shed some light?
pkaturi@gb0882ldaptst00 >exim -d+lookup -bt pkaturi@???
Exim version 4.80.1 uid=25122 gid=1 pid=15260 D=fbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 4.0.14: (November 18, 2001)
Support for: iconv() Perl DKIM
Lookups (built-in): lsearch wildlsearch nwildlsearch iplsearch dbm dbmjz dbmnz ldap ldapdn ldapm
Authenticators:
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile autoreply pipe smtp
Fixed never_users: 0
Size of off_t: 4
Compiler: GCC [3.4.6]
Library version: PCRE: Compile: 8.32
Runtime: 8.32 2012-11-30
Total 10 lookups
WHITELIST_D_MACROS unset
TRUSTED_CONFIG_LIST unset
changed uid/gid: forcing real = effective
uid=0 gid=1 pid=15260
auxiliary group list: <none>
seeking password data for user "root": cache not available
getpwnam() succeeded uid=0 gid=0
seeking password data for user "exim": cache not available
getpwnam() succeeded uid=15 gid=6
configuration file is /etc/exim/exim.conf
log selectors = 00000ffc 00212001
Starting Perl interpreter
admin user
seeking password data for user "nobody": cache not available
getpwnam() succeeded uid=60001 gid=60001
seeking password data for user "exim": cache not available
getpwnam() succeeded uid=15 gid=6
seeking password data for user "exim": using cached result
getpwnam() succeeded uid=15 gid=6
originator: uid=25122 gid=1 login=pkaturi name=Prashanth Katuri
sender address = pkaturi@???
Address testing: uid=0 gid=6 euid=0 egid=6
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing pkaturi@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering pkaturi@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing pkaturi@???
--------> slb_directory_mail_routes router <--------
local_part=pkaturi domain=slb.com
checking domains
slb.com in "directory-mail.slb.com"? no (end of list)
slb_directory_mail_routes router skipped: domains mismatch
--------> slb_perimeter_routes router <--------
local_part=pkaturi domain=slb.com
checking domains
slb.com in "!*.slb.com:!slb.com"? no (matched "!slb.com")
slb_perimeter_routes router skipped: domains mismatch
--------> exchangehost router <--------
local_part=pkaturi domain=slb.com
checking domains
slb.com in "exchange.slb.com"? no (end of list)
exchangehost router skipped: domains mismatch
--------> slbhost router <--------
local_part=pkaturi domain=slb.com
checking domains
slb.com in "slb.com : westerngeco.com"? yes (matched "slb.com")
checking "condition"
calling slbhost router
slbhost router called for pkaturi@???
domain = slb.com
DNS lookup of slb.com (MX) succeeded
DNS lookup of mail0.slb.com (A) succeeded
DNS lookup of mail.messaging.microsoft.com (A) succeeded
DNS lookup of mail.global.frontbridge.com (A) succeeded
duplicate IP address 65.55.88.22 (MX=600) removed
duplicate IP address 216.32.180.190 (MX=600) removed
fully qualified name = slb.com
host_find_bydns yield = HOST_FOUND (2); returned hosts:
mail0.slb.com 163.185.18.201 MX=200
mail.messaging.microsoft.com 65.55.88.22 MX=250
mail.messaging.microsoft.com 216.32.180.190 MX=250
set transport remote_smtp
queued for remote_smtp transport: local_part = pkaturi
domain = slb.com
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by slbhost router
envelope to: pkaturi@???
transport: remote_smtp
host mail0.slb.com [163.185.18.201] MX=200
host mail.messaging.microsoft.com [65.55.88.22] MX=250
host mail.messaging.microsoft.com [216.32.180.190] MX=250
pkaturi@???
router = slbhost, transport = remote_smtp
host mail0.slb.com [163.185.18.201] MX=200
host mail.messaging.microsoft.com [65.55.88.22] MX=250
host mail.messaging.microsoft.com [216.32.180.190] MX=250
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=15260 terminating with rc=0 >>>>>>>>>>>>>>>>
Thanks,
Prashanth Katuri
Directory services admin
Schlumberger
Desk: 713 513 1198
Cell: 682 888 2474