nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] XOAUTH2 integration, and a few questions

2016-06-29 21:56:18
Ken wrote:

I'm just thinking about a hypothetical world where there would be two
different mail servers that support XOAUTH; you don't get to make the
choice in postproc, because send(1) is the guy who generates the bearer
token.

Actually, you do get to make the choice, because postproc can generate
the bearer token.  (sendfrom.c does, by overwriting the -authservice switch.
See its call to mh_oauth_do_xoauth().)

Are you still sure you don't want me to move it to post? :-)

We might want to consider renaming post's (undocumented) -authservice switch.
This is a bit confusing.

I looked at prior art; besides -credentials, which you added, there
is also -idanno, which is the number of the file descriptor to write
annotations to.  It seems like this is the best fit, since it my
mind it falls under "stuff send(1) wants to communicate to post(8)".

Agreed.  Also, post currently doesn't parse the draft, and I don't think
we want it to.

This brings up a related point; should we document all of those internal
switches like -idanno?  I would say yes.

It'd be nice.

David

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>