[Exim] Sender verify callout on commandline

Top Page
Delete this message
Reply to this message
Author: Jez Hancock
Date:  
To: Exim Users List
Subject: [Exim] Sender verify callout on commandline
Hi,

I'm having a problem with sender verification on the commandline. The
command I'm using is:

exim -bvs local_part@domain

but for some reason verification always succeeds regardless of whether
the local_part is valid on domain. Is -bvs the correct switch to use
for this?

After running 'exim -d -bvs local_part@domain' it seems that exim is
only checking to see if 'domain' exists and if so the verification
succeeds. What am I missing here?

[10:29:29] root@users /var/spool/exim/db# exim -d -bvs HGHDB@???
Exim version 4.24 uid=0 gid=0 pid=94708 D=fbb95cfd
<snip>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Verifying HGHDB@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Considering HGHDB@???
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

routing HGHDB@???
--------> dnslookup router <--------
local_part=hghdb domain=hotmail.com
checking domains
<snip>
calling dnslookup router
dnslookup router called for HGHDB@???
domain = hotmail.com
DNS lookup of hotmail.com (MX) succeeded
DNS lookup of mx2.hotmail.com (AAAA) gave NO_DATA
<snip>
host_find_bydns yield = HOST_FOUND (2); returned hosts:
mx2.hotmail.com 65.54.166.230 5
mx2.hotmail.com 65.54.252.230 5
mx2.hotmail.com 65.54.254.145 5
mx3.hotmail.com 65.54.253.99 5
mx3.hotmail.com 65.54.254.140 5
mx3.hotmail.com 65.54.167.5 5
mx4.hotmail.com 65.54.254.151 5
mx4.hotmail.com 65.54.253.230 5
mx4.hotmail.com 65.54.167.230 5
mx1.hotmail.com 65.54.254.129 5
mx1.hotmail.com 65.54.166.99 5
mx1.hotmail.com 65.54.252.99 5
set transport remote_smtp
queued for remote_smtp transport: local_part = hghdb
<snip>
domain = hotmail.com
errors_to=NULL
domain_data=NULL localpart_data=NULL
routed by dnslookup router
envelope to: HGHDB@???
transport: remote_smtp
host mx2.hotmail.com [65.54.166.230] MX=5
host mx2.hotmail.com [65.54.252.230] MX=5
host mx2.hotmail.com [65.54.254.145] MX=5
host mx3.hotmail.com [65.54.253.99] MX=5
host mx3.hotmail.com [65.54.254.140] MX=5
host mx3.hotmail.com [65.54.167.5] MX=5
host mx4.hotmail.com [65.54.254.151] MX=5
host mx4.hotmail.com [65.54.253.230] MX=5
host mx4.hotmail.com [65.54.167.230] MX=5
host mx1.hotmail.com [65.54.254.129] MX=5
host mx1.hotmail.com [65.54.166.99] MX=5
host mx1.hotmail.com [65.54.252.99] MX=5
HGHDB@???
router = dnslookup, transport = remote_smtp
host mx2.hotmail.com [65.54.166.230] MX=5
host mx2.hotmail.com [65.54.252.230] MX=5
host mx2.hotmail.com [65.54.254.145] MX=5
host mx3.hotmail.com [65.54.253.99] MX=5
host mx3.hotmail.com [65.54.254.140] MX=5
host mx3.hotmail.com [65.54.167.5] MX=5
host mx4.hotmail.com [65.54.254.151] MX=5
host mx4.hotmail.com [65.54.253.230] MX=5
host mx4.hotmail.com [65.54.167.230] MX=5
host mx1.hotmail.com [65.54.254.129] MX=5
host mx1.hotmail.com [65.54.166.99] MX=5
host mx1.hotmail.com [65.54.252.99] MX=5
search_tidyup called
close MYSQL connection: localhost:3306/webcp/webcp
>>>>>>>>>>>>>>>> Exim pid=94708 terminating with rc=0 >>>>>>>>>>>>>>>>


--
Jez Hancock
- System Administrator / PHP Developer

http://munk.nu/