NAME
    ca-recv - parse email message, holding a reply to a cabot GPG challenge

SYNOPSIS
    ca-recv

DESCRIPTION
    ca-recv expects an email message on stdin. In this message, it looks for
    lines containing

     Key:
     Magic:
     Upload to keyservers:

    .

    It verifies the Magic: against the cookie stored in sentdir/MAGIC, and
    exits if this fails.

    It creates tosign/LOG, and, if the mail contains a request for
    uploading, tosign/upload. It mails a report to "name" as specified in
    ca-config(5). If everything went fine, this report looks like:

     Subject: CABOT: new key in tosign
     To: John Doe <john@example.com>
     From: CA Bot running on behalf of John Doe <john-cabot@example.com>

     Keyid: ABC01234
     Uid: Foo Bar <foo@example.com>

     Original message:
     <the complete original email message>

    Messages on errors, if any, are mailed to "name" too.

    ca-recv is part of the ca-bot(7) process; typically, ca-dosign(1) is run
    after ca-recv.

SEE ALSO
    ca-bot(7), ca-config(5)

VERSION
    $Id: ca-recv 145 2004-04-26 21:22:59Z weasel $

AUTHOR
    Peter Palfrader, based upon work by Ian Jackson

