meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:dkim [2024/01/30 15:08] – [Purpose] duncanc | plugin:dkim [2024/08/18 11:31] (current) – [Generating DKIM for the domain] duncanc | ||
---|---|---|---|
Line 2: | Line 2: | ||
---- plugin ---- | ---- plugin ---- | ||
+ | |||
+ | |||
description: | description: | ||
author | author | ||
Line 18: | Line 20: | ||
===== Purpose ===== | ===== Purpose ===== | ||
- | This plugin adds a DKIM header to emails sent by phplist. It simply passes-on the settings fields to phpmailer, which does the actual generation of the DKIM header. If your mail server already adds a DKIM header to outgoing mail then you do not need to use this plugin. | + | This plugin adds a DKIM header to emails sent by phplist. It simply passes-on the settings fields to phpmailer, which does the actual generation of the DKIM header. If your mail server already adds a DKIM header to outgoing mail then you probably |
- | You need to create | + | The plugin can also be used to generate |
- | You can usually do this using the control panel of your web server. Otherwise you can use this DKIM record generator | + | You need to create a DKIM private/ |
===== Installation ===== | ===== Installation ===== | ||
Line 30: | Line 32: | ||
===== Configuration ===== | ===== Configuration ===== | ||
- | |||
The plugin adds a section to the Settings page where you can enter | The plugin adds a section to the Settings page where you can enter | ||
Line 40: | Line 41: | ||
* the passphrase for the private key file (optional) | * the passphrase for the private key file (optional) | ||
* whether to include the field values in the DKIM header. | * whether to include the field values in the DKIM header. | ||
+ | * or enter one or more sets of DKIM fields in a text area when you want to use the From address. | ||
- | You must enter either the private key or the path to a file containing the private key. The private key field takes precedence over the private key path. | + | ==== Generating DKIM header for the domain ==== |
+ | You must enter the domain, the selector and either the private key or the path to a file containing the private key. The private key field takes precedence over the private key path. | ||
For example, if the name of your DKIM record is '' | For example, if the name of your DKIM record is '' | ||
Line 57: | Line 60: | ||
</ | </ | ||
+ | ==== Generating DKIM header for the From address ==== | ||
+ | |||
+ | The section on the Settings page has a text area where you can enter the domain, the selector and the private key for one more domains that you will be using as the From address for campaigns. Each set of fields must be separated by a blank line. | ||
+ | < | ||
+ | othersite1.com | ||
+ | phplist | ||
+ | -----BEGIN RSA PRIVATE KEY----- | ||
+ | MIICXQIBAAKBgQDY0g55Ks4QWc1JyiwdMDIKV9NpQzk5aDhIpD5boaKu80C3WrIy | ||
+ | ... | ||
+ | MLumvW5nNkpiQbvwx3SnlKM3RCLU1rUARePSnSnsYY56 | ||
+ | -----END RSA PRIVATE KEY----- | ||
+ | |||
+ | othersite2.com | ||
+ | phplist | ||
+ | -----BEGIN RSA PRIVATE KEY----- | ||
+ | MIICXQIBAAKBgQDY0g55Ks4QWc1JyiwdMDIKV9NpQzk5aDhIpD5boaKu80C3WrIy | ||
+ | ... | ||
+ | MLumvW5nNkpiQbvwx3SnlKM3RCLU1rUARePSnSnsYY56 | ||
+ | -----END RSA PRIVATE KEY----- | ||
+ | </ | ||
+ | |||
+ | The plugin will use the domain of the From address to choose the selector and private key for generating the DKIM header. If the From domain is not found then a DKIM header for the domain will be generated. |