SHOW:
|
|
- or go back to the newest paste.
| 1 | root@example:~# docker stop mail | |
| 2 | ||
| 3 | root@example:~# docker rm -f mail | |
| 4 | ||
| 5 | root@example:~# docker rmi -f cinemapress/mail | |
| 6 | Untagged: cinemapress/mail:latest | |
| 7 | Untagged: cinemapress/mail@sha256:65d3c96e27733761a83ac7db90c52870611a65c8fd338d6d077552b4f1085f1a | |
| 8 | Deleted: sha256:a2c2e768321965f591291da807d040611abec8b544a7337af2f5e816f15905ec | |
| 9 | Deleted: sha256:00d066652406b87273d6f94bd3b17da44f2fcdd7ec5810a89f9dab77a5ab82e1 | |
| 10 | Deleted: sha256:566ba02597ed16627b1bb705e0a5c12244907b7e992ca933b78896528712612a | |
| 11 | Deleted: sha256:ae3d16c739658addff4a16c9875167db57c08ba24dbe0004a903386718c29267 | |
| 12 | Deleted: sha256:56475b85210525ed07c52e8d49dbc6f69323a260aa06b76c2df9e72827c6020b | |
| 13 | Deleted: sha256:957a2ce2fcda57f6de2d5b5f0af88f8f273b38e0beb5e25a6066c621bcb0e701 | |
| 14 | Deleted: sha256:327754eacb2065073e9418469d091042ea702db756dc52c0559061c6bc9e7835 | |
| 15 | Deleted: sha256:b9828262ca4cc3c6263115b398970cb66b3cf7d46aaca65ecc5375778294573d | |
| 16 | Deleted: sha256:ca80c765c70fd389800cbe543768d86ebb92889400ca753c1f523c9b5c40353c | |
| 17 | Deleted: sha256:9a255fce44766e4daba34c6baa67e761430ef862fdfcc9f1e47fea0776a0e5e2 | |
| 18 | Deleted: sha256:26db0ebd3c7b42c09cc89c00d7cf528e75490b056566ef64b84c7cd3a184b2e8 | |
| 19 | Deleted: sha256:5557c2b6aa926dc1388292621e940207d219587397da084afac44cef5bb2fa4c | |
| 20 | Deleted: sha256:50bf034b3c89974f2f0cf28f9ce1c252d9cf27a02bd071fe379ca639400c4984 | |
| 21 | Deleted: sha256:42cdb80b527abcc08559076025e0dcd63a64001104010a3234aafc63cae8dc36 | |
| 22 | Deleted: sha256:6f8f8271620a4e59cb809eda07f097f4e45c61e2eab0bd1041b02f093e856995 | |
| 23 | Deleted: sha256:b28d71e7a747a198b57bce9d36609ce94111ad70f3a3bdff93064f6c6a7196bb | |
| 24 | Deleted: sha256:613343930491433d1f1edf76e10eb4e2cf12a957e9d97c07bc900a917af64126 | |
| 25 | Deleted: sha256:11b4a46873338423ab124f2ec4f28d3e9eb25a3ea0671147f751ad9296279e02 | |
| 26 | Deleted: sha256:df2648ee63837e084e4e44865e5f1374208bc15325e124d214d27869f1235536 | |
| 27 | Deleted: sha256:f5b87bef9a05c5ff70e1ed615e0dcbb4553ec0cb3ec6c07e996e557643c462a7 | |
| 28 | Deleted: sha256:39c0a3786b884757f31b3f64b2c21b774b05c4bdf0691d1dae70f10f49c19ccf | |
| 29 | Deleted: sha256:288ee21fa681b11b62ed10a53e89ca85fcc57a56fee87decb7ad9c7562bd4a21 | |
| 30 | Deleted: sha256:c070bce54d0589e79d4c02f04d4886acdbd401348b75aecd6dfe27193939bebd | |
| 31 | Deleted: sha256:944a50e8069285e15f4522e5e5e7501277afeac2b8fccf410d0fce397357deb5 | |
| 32 | Deleted: sha256:46bb121cf77fdeaaab651d7749b865b80df388c386c31f29d7708175f9e10990 | |
| 33 | Deleted: sha256:63ae42e44e95293b28f50e1a41374689d0566cbd7f0b0caab0c421f8b4b762a6 | |
| 34 | Deleted: sha256:46c1f780543262ab5774f83b41106f366e64b7b20a953182200b880b8761aaa6 | |
| 35 | Deleted: sha256:6b6467e9429da271c32d566585434d284832fd16416aa35f1b85d6435d4ef111 | |
| 36 | Deleted: sha256:52c4f88984f4c24350238d1aaebe23a39a9c60eb2704ee60b0b5f4a23113dc88 | |
| 37 | Deleted: sha256:905b284f4a809bd2330c9f97178ff4a3f53a30dfeead3711514b3b593d3b0c16 | |
| 38 | Deleted: sha256:c456091707e335d3a58bd64af214fabc2bb88657417f21f53e012186be63e000 | |
| 39 | Deleted: sha256:f76dbea2ee49c3ca37382cba31525281dd863eae99b78a124803a73ddc6017f1 | |
| 40 | Deleted: sha256:432e972d50b835ec383f254f60f6c38bfcda9363579b479dccd2afd6af2f8ee2 | |
| 41 | Deleted: sha256:53a84f3dcfe691ea846f8dd31358f95d0a8b4a7867ac93a3a9fa25d18c88923b | |
| 42 | Deleted: sha256:fe7129b343f73bd04faa6c7d2a175339d65f0ab09bf138211cf4685fb2d56e65 | |
| 43 | Deleted: sha256:618b4471406c21dd68f4a5a7144b1264d66e4bcbe9cd0e30749d975c818d9afa | |
| 44 | Deleted: sha256:dac28a390e7faade1c695e953e4d4bb057b9cdfe35da506e3eab685270a7ea5b | |
| 45 | Deleted: sha256:190c5fc2fe03fc34e028988507cb8a3bb16f934ff9dd9c63b405793ded949722 | |
| 46 | Deleted: sha256:b264a9b301ff296cf7717a63008b2e774107d99622d07bec24d6e3c580c16e2f | |
| 47 | Deleted: sha256:f124cae28578740a9766a852f4dfa7f3efee91b94a4141baf152e3cd807f58c9 | |
| 48 | Deleted: sha256:4f7c01f7b51b27625eff0f6357df39c65239576ce0df08d36e82f815029c1c45 | |
| 49 | Deleted: sha256:94d2253d16a5719086adb6a386f42385d2265ba393581a5ca1a5d355650b3197 | |
| 50 | Deleted: sha256:cb42413394c4059335228c137fe884ff3ab8946a014014309676c25e3ac86864 | |
| 51 | root@example:~# cinemapress mailserver example.org | |
| 52 | Unable to find image 'cinemapress/mail:latest' locally | |
| 53 | latest: Pulling from cinemapress/mail | |
| 54 | a076a628af6f: Pulling fs layer | |
| 55 | b5afddf182ca: Pulling fs layer | |
| 56 | 5ebe891e3bb9: Pulling fs layer | |
| 57 | 6884ed77b465: Waiting | |
| 58 | a7f3ed9aa5e0: Pulling fs layer | |
| 59 | 67f2c647b931: Waiting | |
| 60 | 957fffd1ae7c: Waiting | |
| 61 | 1c4b0df1cd9e: Waiting | |
| 62 | 7273a7428794: Waiting | |
| 63 | dada312e98ce: Waiting | |
| 64 | 0d5d2dca50c0: Waiting | |
| 65 | 6c8bf8f4a6ea: Waiting | |
| 66 | 6d7fde925ef0: Waiting | |
| 67 | 9a1a40f74889: Waiting | |
| 68 | bc616c82c456: Waiting | |
| 69 | b8b44592d63b: Waiting | |
| 70 | c7fc93c40b71: Waiting | |
| 71 | 089df0c1dbe2: Waiting | |
| 72 | 16754d43405a: Waiting | |
| 73 | b15fd8b176ef: Pull complete | |
| 74 | 81fc63e1f721: Pull complete | |
| 75 | 0f937ab04b2b: Pull complete | |
| 76 | 900f6f23b9c9: Pull complete | |
| 77 | ca4fc3440b50: Pull complete | |
| 78 | aaaf32a49af9: Pull complete | |
| 79 | 403966b19ce8: Pull complete | |
| 80 | a695b896a262: Pull complete | |
| 81 | 6f67ef3bb964: Pull complete | |
| 82 | 664061e4a837: Pull complete | |
| 83 | b5b701be8c14: Pull complete | |
| 84 | 537f6a09b583: Pull complete | |
| 85 | 20f27a6d7613: Pull complete | |
| 86 | 21ea0759530b: Pull complete | |
| 87 | a2f5899740ab: Pull complete | |
| 88 | 96716172574f: Pull complete | |
| 89 | 147d9a1127de: Pull complete | |
| 90 | 6e747da52806: Pull complete | |
| 91 | 6bd2149387e1: Pull complete | |
| 92 | 8ea006e405a1: Pull complete | |
| 93 | 85a41f71d6e9: Pull complete | |
| 94 | 255c9cc3b759: Pull complete | |
| 95 | 3ed37aecf3d0: Pull complete | |
| 96 | Digest: sha256:65d3c96e27733761a83ac7db90c52870611a65c8fd338d6d077552b4f1085f1a | |
| 97 | Status: Downloaded newer image for cinemapress/mail:latest | |
| 98 | 284f545610ea97119fadcfdeafa82b443112773488e48ff64269d2c6c0aed144 | |
| 99 | ||
| 100 | ------------------------------------------------------------------ | |
| 101 | -----------------[ MAIL SERVER example.org STARTED ]---------------- | |
| 102 | ------------------------------------------------------------------ | |
| 103 | Type: A | |
| 104 | Name: mail.example.org | |
| 105 | Content: IP of your server | |
| 106 | ------------------------------------------------------------------ | |
| 107 | Type: A | |
| 108 | Name: imap.example.org | |
| 109 | Content: IP of your server | |
| 110 | ------------------------------------------------------------------ | |
| 111 | Type: A | |
| 112 | Name: smtp.example.org | |
| 113 | Content: IP of your server | |
| 114 | ------------------------------------------------------------------ | |
| 115 | Type: MX | |
| 116 | Name: example.org | |
| 117 | Content: mail.example.org | |
| 118 | Priority: 1 | |
| 119 | ------------------------------------------------------------------ | |
| 120 | Type: TXT | |
| 121 | Name: example.org | |
| 122 | Content: v=spf1 mx -all | |
| 123 | ------------------------------------------------------------------ | |
| 124 | ||
| 125 | root@example:~# cinemapress ms help | |
| 126 | SETUP(1) | |
| 127 | ||
| 128 | NAME | |
| 129 | setup.sh - docker-mailserver administration script | |
| 130 | ||
| 131 | SYNOPSIS | |
| 132 | ./setup.sh [ OPTIONS... ] COMMAND [ help | ARGUMENTS... ] | |
| 133 | ||
| 134 | COMMAND := { email | alias | quota | config | relay | debug } SUBCOMMAND
| |
| 135 | ||
| 136 | DESCRIPTION | |
| 137 | This is the main administration script that you use for all interactions with your | |
| 138 | mail server. Setup, configuration and much more is done with this script. | |
| 139 | ||
| 140 | Please note that the script executes most of the commands inside the container itself. | |
| 141 | If the image was not found, this script will pull the :latest tag of | |
| 142 | mailserver/docker-mailserver. This tag refers to the latest release, | |
| 143 | see the tagging convention in the README under | |
| 144 | https://github.com/docker-mailserver/docker-mailserver/blob/master/README.md | |
| 145 | ||
| 146 | You will be able to see detailed information about the script you re invoking and | |
| 147 | - | You will be able to see detailed information about the script you're invoking and |
| 147 | + | |
| 148 | does not work with all scripts. | |
| 149 | ||
| 150 | VERSION | |
| 151 | The current version of this script is backwards compatible with versions of | |
| 152 | docker-mailserver after 8.0.1. In case that there is not a more recent release, | |
| 153 | this script is currently only working with the :edge tag. | |
| 154 | ||
| 155 | You can download the script for your release by substituting TAG from the | |
| 156 | following URL, where TAG looks like 'vX.X.X': | |
| 157 | https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/TAG/setup.sh | |
| 158 | ||
| 159 | OPTIONS | |
| 160 | Config path, container or image adjustments | |
| 161 | -i IMAGE_NAME | |
| 162 | Provides the name of the docker-mailserver image. The default value is | |
| 163 | docker.io/mailserver/docker-mailserver:latest | |
| 164 | ||
| 165 | -c CONTAINER_NAME | |
| 166 | Provides the name of the running container. | |
| 167 | ||
| 168 | -p PATH | |
| 169 | Provides the config folder path. The default is | |
| 170 | /usr/bin/config/ | |
| 171 | ||
| 172 | SELinux | |
| 173 | -z | |
| 174 | Allows container access to the bind mount content that is shared among | |
| 175 | multiple containers on a SELinux-enabled host. | |
| 176 | ||
| 177 | -Z | |
| 178 | Allows container access to the bind mount content that is private and | |
| 179 | unshared with other containers on a SELinux-enabled host. | |
| 180 | ||
| 181 | [SUB]COMMANDS | |
| 182 | COMMAND email := | |
| 183 | /usr/bin/mailcinema email add <EMAIL ADDRESS> [<PASSWORD>] | |
| 184 | /usr/bin/mailcinema email update <EMAIL ADDRESS> [<PASSWORD>] | |
| 185 | /usr/bin/mailcinema email del [ OPTIONS... ] <EMAIL ADDRESS> | |
| 186 | /usr/bin/mailcinema email restrict <add|del|list> <send|receive> [<EMAIL ADDRESS>] | |
| 187 | /usr/bin/mailcinema email list | |
| 188 | ||
| 189 | COMMAND alias := | |
| 190 | /usr/bin/mailcinema alias add <EMAIL ADDRESS> <RECIPIENT> | |
| 191 | /usr/bin/mailcinema alias del <EMAIL ADDRESS> <RECIPIENT> | |
| 192 | /usr/bin/mailcinema alias list | |
| 193 | ||
| 194 | COMMAND quota := | |
| 195 | /usr/bin/mailcinema quota set <EMAIL ADDRESS> [<QUOTA>] | |
| 196 | /usr/bin/mailcinema quota del <EMAIL ADDRESS> | |
| 197 | ||
| 198 | COMMAND config := | |
| 199 | /usr/bin/mailcinema config dkim [ ARGUMENTS... ] | |
| 200 | /usr/bin/mailcinema config ssl <FQDN> (ATTENTION: This is deprecated and will be removed soon.) | |
| 201 | ||
| 202 | COMMAND relay := | |
| 203 | /usr/bin/mailcinema relay add-domain <DOMAIN> <HOST> [<PORT>] | |
| 204 | /usr/bin/mailcinema relay add-auth <DOMAIN> <USERNAME> [<PASSWORD>] | |
| 205 | /usr/bin/mailcinema relay exclude-domain <DOMAIN> | |
| 206 | ||
| 207 | COMMAND debug := | |
| 208 | /usr/bin/mailcinema debug fetchmail | |
| 209 | /usr/bin/mailcinema debug fail2ban [unban <IP>] | |
| 210 | /usr/bin/mailcinema debug show-mail-logs | |
| 211 | /usr/bin/mailcinema debug inspect | |
| 212 | /usr/bin/mailcinema debug login <COMMANDS> | |
| 213 | ||
| 214 | EXAMPLES | |
| 215 | ./setup.sh email add [email protected] | |
| 216 | Add the email account [email protected]. You will be prompted | |
| 217 | to input a password afterwards since no password was supplied. | |
| 218 | ||
| 219 | ./setup.sh config dkim keysize 2048 domain 'whoami.com,whoareyou.org' | |
| 220 | Creates keys of length 2048 but in an LDAP setup where domains are not known to | |
| 221 | Postfix by default, so you need to provide them yourself in a comma-separated list. | |
| 222 | ||
| 223 | ./setup.sh config dkim help | |
| 224 | This will provide you with a detailed explanation on how to use the | |
| 225 | config dkim command, showing what arguments can be passed and what they do. | |
| 226 | ||
| 227 | EXIT STATUS | |
| 228 | Exit status is 0 if the command was successful. If there was an unexpected error, an error | |
| 229 | message is shown describing the error. In case of an error, the script will exit with exit | |
| 230 | status 1. | |
| 231 | ||
| 232 | root@example:~# cinemapress ms email add [email protected] | |
| 233 | ||
| 234 | root@example:~# cinemapress ms email update [email protected] | |
| 235 | ||
| 236 | root@example:~# cinemapress ms email list | |
| 237 | [email protected] | |
| 238 | ||
| 239 | root@example:~# cinemapress ms email del [email protected] | |
| 240 | Do you want to delete the mailbox as well (removing all mails) ? [Y/n] Y | |
| 241 | Mailbox directory '/var/mail/example.org/support' did not exist. | |
| 242 | Error :: No valid address: | |
| 243 | Aborting. | |
| 244 | ||
| 245 | root@example:~# cinemapress ms config dkim | |
| 246 | OPEN-DKIM(8) | |
| 247 | ||
| 248 | NAME | |
| 249 | open-dkim - configure DomainKeys Identified Mail (DKIM) | |
| 250 | ||
| 251 | SYNOPSIS | |
| 252 | ./setup.sh config dkim [ OPTIONS... ] | |
| 253 | ||
| 254 | DESCRIPTION | |
| 255 | Configures DKIM keys. OPTIONS can be used to configure a more complex setup. | |
| 256 | LDAP setups require these options. | |
| 257 | ||
| 258 | OPTIONS | |
| 259 | Generic Program Information | |
| 260 | help Print the usage information. | |
| 261 | ||
| 262 | Configuration adjustments | |
| 263 | keysize Set the size of the keys to be generated. Possible are 1024, 2024 and 4096 (default). | |
| 264 | selector Set a manual selector (default is 'mail') for the key. (ATTENTION: NOT IMPLEMENTED YET!) | |
| 265 | domain Provide the domain(s) for which keys are to be generated. | |
| 266 | ||
| 267 | EXAMPLES | |
| 268 | ./setup.sh config dkim size 2048 | |
| 269 | Creates keys of length 2048 bit in a default setup where domains are obtained from | |
| 270 | your accounts. | |
| 271 | ||
| 272 | ./setup.sh config dkim size 2048 selector 2021-dkim | |
| 273 | Creates keys of length 2048 bit in a default setup where domains are obtained from | |
| 274 | your accounts. The DKIM selector used is '2021-dkim'. | |
| 275 | ||
| 276 | ./setup.sh config dkim size 2048 selector 2021-dkim domain 'whoami.com,whoareyou.org' | |
| 277 | Appropriate for an LDAP setup. Creates keys of length 2048 bit in a default setup | |
| 278 | where domains are obtained from your accounts. The DKIM selector used is '2021-dkim'. | |
| 279 | The domains for which DKIM keys are generated are 'whoami.com' and 'whoareyou.org'. | |
| 280 | ||
| 281 | EXIT STATUS | |
| 282 | Exit status is 0 if command was successful. If wrong arguments are provided or arguments contain | |
| 283 | errors, the script will exit early with exit status 2. | |
| 284 | ||
| 285 | ||
| 286 | Unknown options . Aborting. | |
| 287 | ||
| 288 | ––– UNCHECKED ERROR | |
| 289 | – script = setup.sh | |
| 290 | – function = _docker_image / ${CRI} run --rm -v "${CONFIG_PATH}:/tmp/docker-mailserver${USING_SELINUX}" "${USE_TTY}" "${IMAGE_NAME}" "${@}"
| |
| 291 | – line = 235 | |
| 292 | – exit code = 2 | |
| 293 | ||
| 294 | Make sure you use a version of this script that matches | |
| 295 | the version / tag of docker-mailserver. Please read the | |
| 296 | 'Get the tools' section in the README on GitHub careful- | |
| 297 | ly and use ./setup.sh help and read the VERSION section. | |
| 298 | ||
| 299 | root@example:~# cinemapress ms example.org | |
| 300 | docker: Error response from daemon: Conflict. The container name "/mail" is already in use by container "284f545610ea97119fadcfdeafa82b443112773488e48ff64269d2c6c0aed144". You have to remove (or rename) that container to be able to reuse that name. | |
| 301 | See 'docker run --help'. | |
| 302 | ||
| 303 | ------------------------------------------------------------------ | |
| 304 | -----------------[ MAIL SERVER example.org STARTED ]---------------- | |
| 305 | ------------------------------------------------------------------ | |
| 306 | Type: A | |
| 307 | Name: mail.example.org | |
| 308 | Content: IP of your server | |
| 309 | ------------------------------------------------------------------ | |
| 310 | Type: A | |
| 311 | Name: imap.example.org | |
| 312 | Content: IP of your server | |
| 313 | ------------------------------------------------------------------ | |
| 314 | Type: A | |
| 315 | Name: smtp.example.org | |
| 316 | Content: IP of your server | |
| 317 | ------------------------------------------------------------------ | |
| 318 | Type: MX | |
| 319 | Name: example.org | |
| 320 | Content: mail.example.org | |
| 321 | Priority: 1 | |
| 322 | ------------------------------------------------------------------ | |
| 323 | Type: TXT | |
| 324 | Name: example.org | |
| 325 | Content: v=spf1 mx -all | |
| 326 | ------------------------------------------------------------------ | |
| 327 | ||
| 328 | root@example:~# docker stop mail | |
| 329 | ||
| 330 | root@example:~# docker rm -f mail | |
| 331 | ||
| 332 | root@example:~# docker rmi -f cinemapress/mail | |
| 333 | Untagged: cinemapress/mail:latest | |
| 334 | Untagged: cinemapress/mail@sha256:65d3c96e27733761a83ac7db90c52870611a65c8fd338d6d077552b4f1085f1a | |
| 335 | Deleted: sha256:a2c2e768321965f591291da807d040611abec8b544a7337af2f5e816f15905ec | |
| 336 | Deleted: sha256:00d066652406b87273d6f94bd3b17da44f2fcdd7ec5810a89f9dab77a5ab82e1 | |
| 337 | Deleted: sha256:566ba02597ed16627b1bb705e0a5c12244907b7e992ca933b78896528712612a | |
| 338 | Deleted: sha256:ae3d16c739658addff4a16c9875167db57c08ba24dbe0004a903386718c29267 | |
| 339 | Deleted: sha256:56475b85210525ed07c52e8d49dbc6f69323a260aa06b76c2df9e72827c6020b | |
| 340 | Deleted: sha256:957a2ce2fcda57f6de2d5b5f0af88f8f273b38e0beb5e25a6066c621bcb0e701 | |
| 341 | Deleted: sha256:327754eacb2065073e9418469d091042ea702db756dc52c0559061c6bc9e7835 | |
| 342 | Deleted: sha256:b9828262ca4cc3c6263115b398970cb66b3cf7d46aaca65ecc5375778294573d | |
| 343 | Deleted: sha256:ca80c765c70fd389800cbe543768d86ebb92889400ca753c1f523c9b5c40353c | |
| 344 | Deleted: sha256:9a255fce44766e4daba34c6baa67e761430ef862fdfcc9f1e47fea0776a0e5e2 | |
| 345 | Deleted: sha256:26db0ebd3c7b42c09cc89c00d7cf528e75490b056566ef64b84c7cd3a184b2e8 | |
| 346 | Deleted: sha256:5557c2b6aa926dc1388292621e940207d219587397da084afac44cef5bb2fa4c | |
| 347 | Deleted: sha256:50bf034b3c89974f2f0cf28f9ce1c252d9cf27a02bd071fe379ca639400c4984 | |
| 348 | Deleted: sha256:42cdb80b527abcc08559076025e0dcd63a64001104010a3234aafc63cae8dc36 | |
| 349 | Deleted: sha256:6f8f8271620a4e59cb809eda07f097f4e45c61e2eab0bd1041b02f093e856995 | |
| 350 | Deleted: sha256:b28d71e7a747a198b57bce9d36609ce94111ad70f3a3bdff93064f6c6a7196bb | |
| 351 | Deleted: sha256:613343930491433d1f1edf76e10eb4e2cf12a957e9d97c07bc900a917af64126 | |
| 352 | Deleted: sha256:11b4a46873338423ab124f2ec4f28d3e9eb25a3ea0671147f751ad9296279e02 | |
| 353 | Deleted: sha256:df2648ee63837e084e4e44865e5f1374208bc15325e124d214d27869f1235536 | |
| 354 | Deleted: sha256:f5b87bef9a05c5ff70e1ed615e0dcbb4553ec0cb3ec6c07e996e557643c462a7 | |
| 355 | Deleted: sha256:39c0a3786b884757f31b3f64b2c21b774b05c4bdf0691d1dae70f10f49c19ccf | |
| 356 | Deleted: sha256:288ee21fa681b11b62ed10a53e89ca85fcc57a56fee87decb7ad9c7562bd4a21 | |
| 357 | Deleted: sha256:c070bce54d0589e79d4c02f04d4886acdbd401348b75aecd6dfe27193939bebd | |
| 358 | Deleted: sha256:944a50e8069285e15f4522e5e5e7501277afeac2b8fccf410d0fce397357deb5 | |
| 359 | Deleted: sha256:46bb121cf77fdeaaab651d7749b865b80df388c386c31f29d7708175f9e10990 | |
| 360 | Deleted: sha256:63ae42e44e95293b28f50e1a41374689d0566cbd7f0b0caab0c421f8b4b762a6 | |
| 361 | Deleted: sha256:46c1f780543262ab5774f83b41106f366e64b7b20a953182200b880b8761aaa6 | |
| 362 | Deleted: sha256:6b6467e9429da271c32d566585434d284832fd16416aa35f1b85d6435d4ef111 | |
| 363 | Deleted: sha256:52c4f88984f4c24350238d1aaebe23a39a9c60eb2704ee60b0b5f4a23113dc88 | |
| 364 | Deleted: sha256:905b284f4a809bd2330c9f97178ff4a3f53a30dfeead3711514b3b593d3b0c16 | |
| 365 | Deleted: sha256:c456091707e335d3a58bd64af214fabc2bb88657417f21f53e012186be63e000 | |
| 366 | Deleted: sha256:f76dbea2ee49c3ca37382cba31525281dd863eae99b78a124803a73ddc6017f1 | |
| 367 | Deleted: sha256:432e972d50b835ec383f254f60f6c38bfcda9363579b479dccd2afd6af2f8ee2 | |
| 368 | Deleted: sha256:53a84f3dcfe691ea846f8dd31358f95d0a8b4a7867ac93a3a9fa25d18c88923b | |
| 369 | Deleted: sha256:fe7129b343f73bd04faa6c7d2a175339d65f0ab09bf138211cf4685fb2d56e65 | |
| 370 | Deleted: sha256:618b4471406c21dd68f4a5a7144b1264d66e4bcbe9cd0e30749d975c818d9afa | |
| 371 | Deleted: sha256:dac28a390e7faade1c695e953e4d4bb057b9cdfe35da506e3eab685270a7ea5b | |
| 372 | Deleted: sha256:190c5fc2fe03fc34e028988507cb8a3bb16f934ff9dd9c63b405793ded949722 | |
| 373 | Deleted: sha256:b264a9b301ff296cf7717a63008b2e774107d99622d07bec24d6e3c580c16e2f | |
| 374 | Deleted: sha256:f124cae28578740a9766a852f4dfa7f3efee91b94a4141baf152e3cd807f58c9 | |
| 375 | Deleted: sha256:4f7c01f7b51b27625eff0f6357df39c65239576ce0df08d36e82f815029c1c45 | |
| 376 | Deleted: sha256:94d2253d16a5719086adb6a386f42385d2265ba393581a5ca1a5d355650b3197 | |
| 377 | Deleted: sha256:cb42413394c4059335228c137fe884ff3ab8946a014014309676c25e3ac86864 | |
| 378 | root@example:~# cinemapress ms email add [email protected] | |
| 379 | ||
| 380 | root@example:~# cinemapress ms config dkim | |
| 381 | OPEN-DKIM(8) | |
| 382 | ||
| 383 | NAME | |
| 384 | open-dkim - configure DomainKeys Identified Mail (DKIM) | |
| 385 | ||
| 386 | SYNOPSIS | |
| 387 | ./setup.sh config dkim [ OPTIONS... ] | |
| 388 | ||
| 389 | DESCRIPTION | |
| 390 | Configures DKIM keys. OPTIONS can be used to configure a more complex setup. | |
| 391 | LDAP setups require these options. | |
| 392 | ||
| 393 | OPTIONS | |
| 394 | Generic Program Information | |
| 395 | help Print the usage information. | |
| 396 | ||
| 397 | Configuration adjustments | |
| 398 | keysize Set the size of the keys to be generated. Possible are 1024, 2024 and 4096 (default). | |
| 399 | selector Set a manual selector (default is 'mail') for the key. (ATTENTION: NOT IMPLEMENTED YET!) | |
| 400 | domain Provide the domain(s) for which keys are to be generated. | |
| 401 | ||
| 402 | EXAMPLES | |
| 403 | ./setup.sh config dkim size 2048 | |
| 404 | Creates keys of length 2048 bit in a default setup where domains are obtained from | |
| 405 | your accounts. | |
| 406 | ||
| 407 | ./setup.sh config dkim size 2048 selector 2021-dkim | |
| 408 | Creates keys of length 2048 bit in a default setup where domains are obtained from | |
| 409 | your accounts. The DKIM selector used is '2021-dkim'. | |
| 410 | ||
| 411 | ./setup.sh config dkim size 2048 selector 2021-dkim domain 'whoami.com,whoareyou.org' | |
| 412 | Appropriate for an LDAP setup. Creates keys of length 2048 bit in a default setup | |
| 413 | where domains are obtained from your accounts. The DKIM selector used is '2021-dkim'. | |
| 414 | The domains for which DKIM keys are generated are 'whoami.com' and 'whoareyou.org'. | |
| 415 | ||
| 416 | EXIT STATUS | |
| 417 | Exit status is 0 if command was successful. If wrong arguments are provided or arguments contain | |
| 418 | errors, the script will exit early with exit status 2. | |
| 419 | ||
| 420 | ||
| 421 | Unknown options . Aborting. | |
| 422 | ||
| 423 | ––– UNCHECKED ERROR | |
| 424 | – script = setup.sh | |
| 425 | – function = _docker_image / ${CRI} run --rm -v "${CONFIG_PATH}:/tmp/docker-mailserver${USING_SELINUX}" "${USE_TTY}" "${IMAGE_NAME}" "${@}"
| |
| 426 | – line = 235 | |
| 427 | – exit code = 2 | |
| 428 | ||
| 429 | Make sure you use a version of this script that matches | |
| 430 | the version / tag of docker-mailserver. Please read the | |
| 431 | 'Get the tools' section in the README on GitHub careful- | |
| 432 | ly and use ./setup.sh help and read the VERSION section. | |
| 433 | ||
| 434 | root@example:~# docker stop mail | |
| 435 | Error response from daemon: No such container: mail | |
| 436 | root@example:~# docker rm -f mail | |
| 437 | Error: No such container: mail | |
| 438 | root@example:~# docker rmi -f cinemapress/mail | |
| 439 | Error: No such image: cinemapress/mail | |
| 440 | root@example:~# docker rmi -f cinemapress/mail | |
| 441 | Error: No such image: cinemapress/mail | |
| 442 |