[exim-dev] More detailed postdata response?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Michael Haardt
Date:  
À: exim-dev
Sujet: [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