Problem Description
Hello! Long time user of Sympl (and Symbiosis) before it. I’ve done a fresh install of Sympl on Debian Trixie and it works fine - except email authentication. Logins just don’t work at all, either via Roundcube or POP3/IMAP. I’ve set the passwords exactly as described in the documentary.
I’ve tried running sudo sympl-filesystem-security and sudo sympl-mail-encrypt-passwords --verbose without success. Is it an issue with Dovecot not knowing where to look for the usernames and passwords?
FWIW I set up default_forward on the domain and that works, but forwarding rules in individual mailboxes didn’t.
Environment
- Sympl Version: 13
- Debian Version: 13.2
- Hardware Type: virtual machine
- Hosted With: Hosting UK
With trixie there were significant changes to Dovecot, so there is now a sympl-mail-configure which should automatically run and update the database used to authenticate mailboxes.
Running it under sudo should provide useful output, but the usual things apply - check you have the mailboxes directory in the right place and the passwords file contain either a plain text or encrypted password, and you should be fine.
Thanks for that. I tried it with a new mailbox; it worked in so far as the folders were created and I could see new mail files being received, but still can’t log in.
Are there any logs that I can share that would be helpful?
The only other thing to mention is that my /etc/dovecot/sympl-mail.sqlite file appears to be empty and hasn’t been modified since I installed Sympl a few days ago.
Just to add to my own comments, I tried creating a new local user, and set up a mailbox under /home/[user]/Maildir and the details were added to /etc/dovecot/sympl-mail.sqlite when I ran sympl-mail-configure. But the mailboxes in /srv/[mysite]/mailboxes are not being added to the Dovecot database. I hope this helps.
Just wanted to say, on a Sympl 13/Trixie Mythic Beasts VM, running sudo sympl-mail-configure is what was needed to enable logging in to mailboxes, having set and encrypted passwords. Thanks!
$ sudo sympl-mail-configure
sudo: sympl-mail-configure: command not found
Wassup? Bear in mind that this is not Trixie.
This is Linux redacted.uk 6.12.109+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.109-1+rpt1 (2026-09-11) aarch64
I don’t recall ever having to run sympl-mail-configure in the past but it used to be easy enough to log in. Now I can’t log in with a newly-created mailbox.
Is there a scheduled update that needs to run before a login works?
Or has some bit of Trixie sneaked in but not the script that makes login work?
Curiouser and curiouser…
I still couldn’t log in, so I made a new mailbox on the same domain with a different password. That worked fine.
I “changed” the “couldn’t log in” password to the same as it was, in case there was a hidden typo. Didn’t work.
I changed the password to the new one that worked on the other mailbox. That worked fine.
I changed the password to both passwords, concatenated. That worked fine.
I changed the password back to the one that didn’t work. That worked fine.
All’s well that ends well, but I have no idea what was wrong. So it only “ends well” for low values of “well”.
Not sure if this relates to this thread. Certainly matches the thread subject.
I created a new Mythic Beasts virtual server with the supplied Trixie / Sympl 13 OS. Just getting it set up to match my somewhat out-of-date server.
Set up a mailbox for one of my domains. Created usual /srv/‘domain’/mailboxes/‘user’/password with a ‘complex’ password (included some of the ‘special characters’ - at least /\* and probably others. Then ran sudo /user/sbin/sympl-mail-configure. I couldn’t log in - IMAP and SMTP. I changed to a password without ‘special’ characters, and it now worked.
Is it possible that some of the special characters cause failure? I’m reasonably convinced that what I put in the password file included the correct characters - used ‘echo’ with the password string in single quotes.
It sort-of looks like sympl-mail-configure should run automatically when changes are detected. Is there a good way to check that this has happened, rather than running it manually?
And another mail-related thing: I created a ‘forward’ file (just default file-creation as user sympl). Exim objected to the group-write permission bit i.e. 020 causing email to fail. The file has been created with permissions 664. Looking on my older server, similar files are 644. I did chmod 644 and Exim is now happy. Looks like this change is due to a change to default umask under Trixie. sympl has umask 0002, rather than 0022 on Bullseye.