Full trace using --debug option or current behaviour
Your mail server will be installed with the following components:
fail2ban modoboa automx rspamd dovecot nginx postfix uwsgi radicale
Do you confirm? (Y/n) Y
The process can be long, feel free to take a coffee and come back later π
Starting...
Generating new self-signed certificate
Installing fail2ban
Installing modoboa
Installing automx
Installing radicale
Installing uwsgi
Installing nginx
Installing rspamd
Installing postfix
Installing dovecot
User dovecot already exists, skipping creation but please make sure the /srv/vmail directory exists.
Traceback (most recent call last):
File "/root/modoboa-installer/run.py", line 284, in
main(sys.argv[1:])
File "/root/modoboa-installer/run.py", line 268, in main
scripts.install(appname, config, args.upgrade, args.restore)
File "/root/modoboa-installer/modoboa_installer/scripts/init.py", line 29, in install
getattr(script, appname.capitalize())(config, upgrade, archive_path).run()
File "/root/modoboa-installer/modoboa_installer/scripts/base.py", line 206, in run
self.post_run()
File "/root/modoboa-installer/modoboa_installer/scripts/dovecot.py", line 142, in post_run
utils.copy_file(f, "{}/conf.d".format(self.config_dir))
File "/root/modoboa-installer/modoboa_installer/utils.py", line 162, in copy_file
shutil.copy(src, dest)
File "/usr/lib/python3.11/shutil.py", line 419, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/root/modoboa-installer/modoboa_installer/scripts/files/dovecot/conf.d/custom_after_sieve'
ny config (part)
[antispam]
enabled = true
type = rspamd
Impacted versions
fail to install latest rspamd branch
Full trace using --debug option or current behaviour
Your mail server will be installed with the following components: fail2ban modoboa automx rspamd dovecot nginx postfix uwsgi radicale Do you confirm? (Y/n) Y The process can be long, feel free to take a coffee and come back later π Starting... Generating new self-signed certificate Installing fail2ban Installing modoboa Installing automx Installing radicale Installing uwsgi Installing nginx Installing rspamd Installing postfix Installing dovecot User dovecot already exists, skipping creation but please make sure the /srv/vmail directory exists. Traceback (most recent call last): File "/root/modoboa-installer/run.py", line 284, in
main(sys.argv[1:])
File "/root/modoboa-installer/run.py", line 268, in main
scripts.install(appname, config, args.upgrade, args.restore)
File "/root/modoboa-installer/modoboa_installer/scripts/init.py", line 29, in install
getattr(script, appname.capitalize())(config, upgrade, archive_path).run()
File "/root/modoboa-installer/modoboa_installer/scripts/base.py", line 206, in run
self.post_run()
File "/root/modoboa-installer/modoboa_installer/scripts/dovecot.py", line 142, in post_run
utils.copy_file(f, "{}/conf.d".format(self.config_dir))
File "/root/modoboa-installer/modoboa_installer/utils.py", line 162, in copy_file
shutil.copy(src, dest)
File "/usr/lib/python3.11/shutil.py", line 419, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.11/shutil.py", line 256, in copyfile
with open(src, 'rb') as fsrc:
^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/root/modoboa-installer/modoboa_installer/scripts/files/dovecot/conf.d/custom_after_sieve'
ny config (part) [antispam] enabled = true type = rspamd
[certificate] generate = true type = self-signed
[letsencrypt] email = admin@example.com
[database] engine = postgres host = 127.0.0.1 install = true
[postgres] user = postgres password =.
[fail2ban] enabled = true config_dir = /etc/fail2ban max_retry = 200 ban_time = 3600 find_time = 30
[modoboa] user = modoboa home_dir = /srv/modoboa venv_path = %(home_dir)s/env instance_path = %(home_dir)s/instance timezone = Europe/Moscow dbname = modoboa dbuser = modoboa dbpassword = ZFmAG9dfgjjfd cron_error_recipient = root extensions = modoboa-rspamd modoboa-postfix-autoreply modoboa-sievefilters modoboa-webmail modoboa-contacts modoboa-radicale devmode = false
[automx] enabled = true user = automx config_dir = /etc home_dir = /srv/automx venv_path = %(home_dir)s/env instance_path = %(home_dir)s/instance
[rspamd] enabled = true user = _rspamd password = TgR4zYQUfJ dnsbl = true dkim_keys_storage_dir = /var/lib/dkim key_map_path = /var/lib/dkim/keys.path.map selector_map_path = /var/lib/dkim/selectors.path.map greylisting = false whitelist_auth = true whitelist_auth_weigth = -5
[amavis] enabled = false user = amavis max_servers = 2 dbname = amavis dbuser = amavis dbpassword = ZaJIVgjgjgfj
[clamav] enabled = false user = clamav
[dovecot] enabled = true config_dir = /etc/dovecot user = dovecot home_dir = /srv/vmail mailboxes_owner = vmail extra_protocols =. postmaster_address = postmaster@%(domain)s radicale_auth_socket_path = /var/run/dovecot/auth-radicale move_spam_to_junk = false
[nginx] enabled = true config_dir = /etc/nginx
[razor] enabled = false config_dir = /etc/razor