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.
pgpohXEGpeHll.pgp
Description: PGP signature
-- nmh-workers https://lists.nongnu.org/mailman/listinfo/nmh-workers
Previous by Date: | Re: [nmh-workers] logging outgoing messages, Ken Hornstein |
---|---|
Next by Date: | Re: [nmh-workers] logging outgoing messages, Michael Richardson |
Previous by Thread: | Re: [nmh-workers] logging outgoing messages, Ken Hornstein |
Next by Thread: | Re: [nmh-workers] logging outgoing messages, Robert Elz |
Indexes: | [Date] [Thread] [Top] [All Lists] |