[exim-dev] More detailed postdata response?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Michael Haardt
Ημερομηνία:  
Προς: exim-dev
Αντικείμενο: [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