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: pgp9KL4F2M5Mn.pgp
Description: PGP signature

-- 
nmh-workers
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to