root@:~# cinemapress ms config dkim
OPEN-DKIM(8)
NAME
open-dkim - configure DomainKeys Identified Mail (DKIM)
SYNOPSIS
./setup.sh config dkim [ OPTIONS... ]
DESCRIPTION
Configures DKIM keys. OPTIONS can be used to configure a more complex setup.
LDAP setups require these options.
OPTIONS
Generic Program Information
help Print the usage information.
Configuration adjustments
keysize Set the size of the keys to be generated. Possible are 1024, 2024 and 4096 (default).
selector Set a manual selector (default is 'mail') for the key. (ATTENTION: NOT IMPLEMENTED YET!)
domain Provide the domain(s) for which keys are to be generated.
EXAMPLES
./setup.sh config dkim size 2048
Creates keys of length 2048 bit in a default setup where domains are obtained from
your accounts.
./setup.sh config dkim size 2048 selector 2021-dkim
Creates keys of length 2048 bit in a default setup where domains are obtained from
your accounts. The DKIM selector used is '2021-dkim'.
./setup.sh config dkim size 2048 selector 2021-dkim domain 'whoami.com,whoareyou.org'
Appropriate for an LDAP setup. Creates keys of length 2048 bit in a default setup
where domains are obtained from your accounts. The DKIM selector used is '2021-dkim'.
The domains for which DKIM keys are generated are 'whoami.com' and 'whoareyou.org'.
EXIT STATUS
Exit status is 0 if command was successful. If wrong arguments are provided or arguments contain
errors, the script will exit early with exit status 2.
Unknown options . Aborting.
––– UNCHECKED ERROR
– script = setup.sh
– function = _docker_image / ${CRI} run --rm -v "${CONFIG_PATH}:/tmp/docker-mailserver${USING_SELINUX}" "${USE_TTY}" "${IMAGE_NAME}" "${@}"
– line = 235
– exit code = 2
Make sure you use a version of this script that matches
the version / tag of docker-mailserver. Please read the
'Get the tools' section in the README on GitHub careful-
ly and use ./setup.sh help and read the VERSION section.
root@:~#
root@:~# cinemapress ms
-----------------------[ DOMAIN NAME OR IP ]----------------------
: .org
docker: Error response from daemon: Conflict. The container name "/mail" is already in use by container "a651db41ed457b48dcffe5202bb9ea094e48863993bac1839646e00537ec23d6". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
------------------------------------------------------------------
-----------------[ MAIL SERVER .org STARTED ]----------------
------------------------------------------------------------------
Type: A
Name: mail..org
Content: IP of your server
------------------------------------------------------------------
Type: A
Name: imap..org
Content: IP of your server
------------------------------------------------------------------
Type: A
Name: smtp..org
Content: IP of your server
------------------------------------------------------------------
Type: MX
Name: .org
Content: mail..org
Priority: 1
------------------------------------------------------------------
Type: TXT
Name: .org
Content: v=spf1 mx -all
------------------------------------------------------------------
root@:~#
docker: Error response from daemon: Conflict. The container name "/mail" is already in use by container "a651db41ed457b48dcffe5202bb9ea094e48863993bac1839646e00537ec23d6". You have to remove (or rename) that container to be able to reuse that name.
docker stop mail
docker rm -f mail
docker rmi -f cinemapress/mail
cinemapress upd
docker rm -f mail
docker rmi -f cinemapress/mail
rm -rf /var/docker-mailserver
cinemapress https
он применится на все поддомены этого домена. После этого сертификат от CloudFlare не нужен и его лучше отключить (сделать облако серым цветом).