Giter Club home page Giter Club logo

domainkey's Introduction

domainkey

domainkey for qmail

I tried to support the domainkey command for 2048bit.
TXT record for BIND is automatically set to 2 lines.

original shell command
https://notes.sagredo.eu/files/qmail/domainkey

Please rewrite according to the environment.

#CONFIGDIR="/usr/local/etc/domainkeys"
CONFIGDIR="/var/qmail/control/domainkeys"

# DKIMSIGNOPTIONS="-z 2" is required when 2048 bit
#BIT=1024
BIT=2048

# Number of characters to split
SPLIT=255

# chown -R qmailr.qmail or vpopmail.vchkpw
#CHOWN_USER_GROUP="qmailr.qmail"
CHOWN_USER_GROUP="vpopmail.vchkpw"

Set DKIMSIGNOPTIONS to qmail environment variable to support 2048bit.

DKIMSIGNOPTIONS="-z 2"

Example

$ domainkey your-domain.com
Generating RSA private key, 2048 bit long modulus
...................................................+++
.......+++
e is 65537 (0x10001)
writing RSA key

default._domainkey.your-domain.com. IN TXT ("v=DKIM1; k=rsa; t=y; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1KurraHD53HZfIlaWVg9n6B9nzc7FCxUm7A5Mq8jMS+hP6EABPAQeBqnv3w8AE2/OQ+l5o0y4FLx/GV0HJNMxY+0pdbSTmCbChPo6fqypifwwI8+M2PUCnSKqLW9RR3wHOclL3yfe0npLNQe/roMatnXrndtmXNc8rabjZKmgOarjTxFYt/p5oCzm8Pm"
        "DaE11untfEtCVNyY6JqtZTSv3wUTlZQ1vCfFtGsNWL/0w66m1OxZhkxkPnL2dDux8peZso68pEngzEIVY3pE0b0xudfQSBBsZ/L7knAS99IIVWYbNWwxvveS2uNs6lVLMnLOSlkDhFgQod3ri2qjVcPZnwIDAQAB")
        

domainkey's People

Contributors

kotaroman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.