ateliers:serveurmail:dkimproxy
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédenteDernière révisionLes deux révisions suivantes | ||
ateliers:serveurmail:dkimproxy [2018/02/18 13:41] – sakasama | ateliers:serveurmail:dkimproxy [2018/02/18 17:47] – sakasama | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
On a d' | On a d' | ||
- | $ apt-get install dkimproxy | + | |
- | on a généré | + | Nous avons commencé à modifier |
- | dans / | + | < |
+ | |||
+ | # specify what address/ | ||
+ | listen | ||
+ | |||
+ | # specify what address/ | ||
+ | relay | ||
+ | |||
+ | </ | ||
+ | |||
+ | <code|h / | ||
+ | |||
+ | # specify what address/ | ||
+ | listen | ||
+ | |||
+ | # specify what address/ | ||
+ | relay | ||
+ | |||
+ | # specify what domains DKIMproxy can sign for (comma-separated, | ||
+ | domain | ||
+ | |||
+ | # specify what signatures to add | ||
+ | signature | ||
+ | signature domainkeys(a=rsa-sha1, | ||
+ | |||
+ | # specify location of the private key | ||
+ | keyfile | ||
+ | |||
+ | # specify the selector | ||
+ | selector | ||
+ | |||
+ | # control how many processes DKIMproxy uses | ||
+ | # - more information on these options (and others) can be found by | ||
+ | # running `perldoc Net:: | ||
+ | # | ||
+ | # | ||
+ | |||
+ | </ | ||
+ | |||
+ | Nous avons généré les clés dkim en utilisant la commande openssl [[https:// | ||
+ | |||
+ | $ openssl genrsa -out private.key 2048 | ||
+ | $ openssl rsa -in private.key -pubout -out public.key | ||
+ | $ chown dkimproxy: private.key | ||
+ | |||
+ | Nous avons modifié aussi la configuration par défaut | ||
+ | |||
+ | <code|h / | ||
+ | |||
+ | # Default configuration for dkimproxy. | ||
+ | |||
+ | # which daemons whould be run; anything other than ' | ||
+ | # default: 1 | ||
+ | RUN_DKIMPROXY_OUT=1 | ||
+ | RUN_DKIMPROXY_IN=1 | ||
+ | |||
+ | # The following variables specify configuration to be passed as arguments to | ||
+ | # the dkimproxy daemons. If a variable is commented out, the default value | ||
+ | # within the / | ||
+ | # or set to an empty value, the corresponding argument will be omitted from | ||
+ | # the dkimproxy command line, and dkimproxy is free to read a value from its | ||
+ | # own configuration file or use its own default value. | ||
+ | |||
+ | # configuration file to use for dkimproxy.in | ||
+ | # default: "/ | ||
+ | DKIMPROXY_IN_CONF="/ | ||
+ | |||
+ | # configuration file to use for dkimproxy.out | ||
+ | # default: "/ | ||
+ | DKIMPROXY_OUT_CONF="/ | ||
+ | |||
+ | # user and group of the dkimproxy daemons | ||
+ | # default: dkimproxy | ||
+ | # | ||
+ | # | ||
+ | |||
+ | # hostname for verification " | ||
+ | # Feel free to use hostname -f if that fits you, but then make | ||
+ | # sure that your DNS dkim key entry is setup accordingly with | ||
+ | # something like _domainkey.mx.example.com | ||
+ | # default: `hostname -d` | ||
+ | # | ||
+ | DKIM_HOSTNAME=' | ||
+ | |||
+ | # domains to sign for; specify multiple domains separated by commas | ||
+ | # default: `hostname -d` and domains parsed from / | ||
+ | # | ||
+ | DOMAIN=' | ||
+ | |||
+ | # Number of pre-forked process that dkimproxy should keep ready for action. | ||
+ | # The best value for performances is 5 on a single core server. It would | ||
+ | # seem reasonable to add at least one process per core on your server. | ||
+ | # Each process will take about 2MB of RAM, so with a value of 2 for both | ||
+ | # the in and the out daemon, dkimproxy will use 10/12 MB of RAM. | ||
+ | # default: 5 | ||
+ | # | ||
+ | # | ||
+ | |||
+ | </ | ||
+ | |||
+ | La configuration de dkimproxy a nécessité de modifier la configuration d' |
ateliers/serveurmail/dkimproxy.txt · Dernière modification : 2018/02/18 17:49 de sakasama