nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [nmh-workers] logging outgoing messages


From: Valdis Klētnieks
Subject: Re: [nmh-workers] logging outgoing messages
Date: Tue, 09 Jul 2019 20:29:30 -0400

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]