[exim-dev] More detailed postdata response?

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Michael Haardt
Datum:  
To: exim-dev
Betreff: [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