Home GnuPG
Diffusion GnuPG 7705f310f140

tools: Call sendmail directly from the wks tools.
7705f310f140Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

tools: Call sendmail directly from the wks tools.

* tools/send-mail.c, tools/send-mail.h: New.
* tools/wks-util.c: New.
* tools/Makefile.am (gpg_wks_server_SOURCES): Add them.
(gpg_wks_client_SOURCES): Ditto.
* tools/gpg-wks.h (opt): Add fields use_sendmail and output.
* tools/gpg-wks-client.c: Add options --send and --output.  Rename
command --send to --create.
(command_send, send_confirmation_response): Output via wks_send_mime.
* tools/gpg-wks-server.c:  Add options --send and --output.
(send_confirmation_request): Output via wks_send_mime.
(check_and_publish): Add hack for name-value bug.

With this code, a dedicated user on the server along with a procmail
script, it was possible to run a basic test.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jul 3 2016, 12:41 AM
Parents
rGc619035d9cd0: tools: Add options to gpg-wks-server.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG7705f310f140: tools: Call sendmail directly from the wks tools. (authored by Werner Koch <wk@gnupg.org>).Jul 3 2016, 12:41 AM