Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

SMTP server login fails - passwd-file

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
starter
Posts: 12
Joined: Thu Dec 08, 2016 11:36 am

SMTP server login fails - passwd-file
  • Quote

Post by starter » Thu Mar 09, 2017 12:05 pm

I am no longer able to send emails with my server, there is an issue with Dovecot's login.

/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
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:

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
}
Any idea ? I tried to rebuild the user, but that did not fix the issue.
Top

Francis
Posts: 5
Joined: Sun Mar 25, 2018 4:57 am

Os: Ubuntu 13x
Web: apache + nginx
Re: SMTP server login fails - passwd-file
  • Quote

Post by Francis » Sun Mar 25, 2018 5:04 am

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/*
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password