The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

dkimsign.pl - computes a DKIM signature for an email message

SYNOPSIS

  dkimsign.pl [options] < original_email.txt
    options:
      --type=TYPE
      --method=METHOD
      --selector=SELECTOR
      --expiration=INTEGER
      --debug-canonicalization=FILE

  dkimsign.pl --help
    to see a full description of the various options

OPTIONS

--expiration

Optional. Specify the desired signature expiration, as a delta from the signature timestamp.

--type

Determines the desired signature. Use dkim for a DKIM-Signature, or domainkeys for a DomainKey-Signature.

--method

Determines the desired canonicalization method. Possible values are simple, simple/simple, simple/relaxed, relaxed, relaxed/relaxed, relaxed/simple.

--debug-canonicalization

Outputs the canonicalized message to the specified file, in addition to computing the DKIM signature. This is helpful for debugging canonicalization methods.

AUTHOR

Jason Long, <jlong@messiah.edu>

COPYRIGHT AND LICENSE

Copyright (C) 2006-2007 by Messiah College

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.