Hi,
it seems to happen here:
in verify.c, around line 542
if (!(esmtp = verify_check_this_host(&(ob->hosts_avoid_esmtp), NULL,
host->name, host->address, NULL) != OK))
DEBUG(D_transport)
debug_printf("not sending EHLO (host matches hosts_avoid_esmtp)\n");
The hosts_avoid_smtp list is not set.
When I saw your configuration I asked myself how the SMTP callout should
happen, because you do not have any SMTP transport configured. (I think,
older Exims didn't use the transport configuration for callouts at all…)
I think, you need have a separate router for the verification:
begin routers
#------------
foo_verify:
…
transport = smtp
verify_only
no_more
foo:
transport = vscan
no_more
begin transports
#--------------
smtp:
driver = smtp
vscan:
driver = pipe
command = …
I'm not sure, if this is a bug, but at least the output should be more
clear :)
(the transport option is expandable, but currently I do not find a
condition telling me, if I'm during verification or if it's already the
real routing…, it would be nice to have something like this:
begin routers
foo:
transport = ${if verification {smtp}{vscan}}
But this does not work as far as I know…
Best regards from Dresden/Germany
Viele Grüße aus Dresden
Heiko Schlittermann
--
SCHLITTERMANN.de ---------------------------- internet & unix support -
Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
gnupg encrypted messages are welcome --------------- key ID: 7CBF764A -
gnupg fingerprint: 9288 F17D BBF9 9625 5ABC 285C 26A9 687E 7CBF 764A -
(gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B)-