We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
SMTP server login fails - passwd-file
SMTP server login fails - passwd-file
I am no longer able to send emails with my server, there is an issue with Dovecot's login.
/var/log/dovecot.log:
As you can see a directory name is missing in the path.
In the Dovecot configuration this missing string seems to be the %d variable.
/etc/dovecot/conf.d/auth-passwdfile.conf.ext:
Any idea ? I tried to rebuild the user, but that did not fix the issue.
/var/log/dovecot.log:
Code: Select all
auth: Error: passwd-file(copier,123.456.123.456): stat(/etc/exim4/domains//passwd) failed: No such file or directory
In the Dovecot configuration this missing string seems to be the %d variable.
/etc/dovecot/conf.d/auth-passwdfile.conf.ext:
Code: Select all
passdb {
driver = passwd-file
args = scheme=MD5-CRYPT username_format=%n /etc/exim4/domains/%d/passwd
}
userdb {
driver = passwd-file
args = username_format=%n /etc/exim4/domains/%d/passwd
}
Re: SMTP server login fails - passwd-file
I'm going to respond to this because I ran into the same issue after a recent Dovecot upgrade. If you choose to rebuild the certificate, the file permissions need touched. The following command fixed this issue for me.
Code: Select all
chmod 640 /usr/local/vesta/ssl/*