Re: [exim] exim child dies when calling out

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: Re: [exim] exim child dies when calling out
Heiko Schlittermann <hs@???> (Di 18 Feb 2014 18:50:24 CET):
> 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");


May be, something like this should be put there:

diff -r 418faceb8ea2 src/verify.c
--- a/src/verify.c      Tue Feb 18 19:33:40 2014 +0100
+++ b/src/verify.c      Tue Feb 18 19:34:08 2014 +0100
@@ -373,7 +373,11 @@
   {
   HDEBUG(D_verify) debug_printf("cannot callout via null transport\n");
   }
-else
+else if (Ustrcmp(addr->transport->driver_name, "smtp") != 0)
+  {
+  HDEBUG(D_verify) debug_printf("cannot callout via non-smtp transport\n");
+  }
+ else
   {
   smtp_transport_options_block *ob =
     (smtp_transport_options_block *)(addr->transport->options_block);


I'll file a bug.

    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)-