nmh-workers
[Top] [All Lists]

Re: [nmh-workers] logging outgoing messages

2019-07-09 19:31:08
On Tue, 09 Jul 2019 17:43:06 -0400, Steven Winikoff said:

      sm_reply.length = rp - sm_reply.text;
      sm_reply.text[sm_reply.length] = 0;
+#ifndef NOSYSLOG
+        if (strncmp(sm_reply.text, "OK id=", 6) == 0)
+        {

This is highly dependent on the remote MTA.
Google, for instance, returns:

250 2.0.0 OK  1562718444 r17sm180161qtf.26 - gsmtp

The 250 is required.  2.0.0 (or similar) if the remote server does extended
return codes.  The rest is up for grabs.

Attachment: pgpohXEGpeHll.pgp
Description: PGP signature

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>