mix mail_auth.sign (MailAuth v0.1.0)

Copy Markdown View Source

Signs a message with DKIM and prints the signed message.

mix mail_auth.sign message.eml --domain example.com --selector s1 --key key.pem

Options:

  • --domain, --selector, --key (required): the signing domain, the selector, and a file with the private key in PEM
  • --canonicalization: relaxed/relaxed (the default), simple/simple, relaxed/simple or simple/relaxed
  • --identity: the i= tag
  • --expires-in: seconds until the signature expires
  • --now: the signing time, in Unix seconds