Skip to content

Dovecot startup failure with space in spam folder name #7543

@lucagasparini

Description

@lucagasparini

Steps to reproduce

  • mail module > Settings > Mailboxes > Spam
  • customize Junk folder name using space character: "Junk folder"
  • Save settings (dovecot is only reloaded)
  • restart dovecot service: runagent -m mail1 systemctl --user restart dovecot

Expected behavior

  • dovecot restarts without problems

Actual behavior

  • dovecot does not restart and in the log reports this:
Jul 07 06:27:59 rl2 systemd[3910229]: Starting Dovecot IMAP, POP3, Sieve server...
Jul 07 06:28:03 rl2 dovecot[643582]: systemctl --user --quiet is-enabled clamav.service
Jul 07 06:28:04 rl2 systemd[3910229]: Started libcrun container.
Jul 07 06:28:04 rl2 dovecot[643621]: /usr/bin/bash: connect: Connection refused
Jul 07 06:28:04 rl2 dovecot[643621]: /usr/bin/bash: line 1: /dev/tcp/127.0.0.1/9288: Connection refused
Jul 07 06:28:05 rl2 dovecot[643616]: doveconf: Fatal: Error in configuration file /etc/dovecot/local.conf line 52: Expecting '{'
Jul 07 06:28:05 rl2 systemd[3910229]: dovecot.service: Main process exited, code=exited, status=75/TEMPFAIL
Jul 07 06:28:06 rl2 dovecot[643621]: /usr/bin/bash: connect: Connection refused
Jul 07 06:28:06 rl2 dovecot[643621]: /usr/bin/bash: line 1: /dev/tcp/127.0.0.1/9288: Connection refused
....

Components

  • Mail 1.6.4

Metadata

Metadata

Assignees

Labels

verifiedAll test cases were verified successfully

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions