[exim-dev] More detailed postdata response?

Góra strony
Delete this message
Reply to this message
Autor: Michael Haardt
Data:  
Dla: exim-dev
Temat: [exim-dev] More detailed postdata response?
Hello,

how about this?

       /* Default OK response */


       else
-        smtp_printf("250 OK id=%s\r\n", message_id);
+        smtp_printf("250 OK id=%s host=%s\r\n", message_id
+                                              , smtp_active_hostname);
       if (host_checking)
         fprintf(stdout,
           "\n**** SMTP testing: that is not a real message id!\n\n");


Many systems log the postdata response and it is helpful to know which
host behind a load balancer they talked to. Opinions?

Michael