Problem with authentication in dovecot

Freek de Kruijf via dovecot <[email protected]> Mon, 18 May 2026 17:44:32 +0200
Newsgroups gmane.mail.imap.dovecot
Message-ID <[email protected]>
I have the following dovecot.conf,  striped from comment:

dovecot_config_version = 2.4.2
dovecot_storage_version = 2.4.0
protocols = imap
auth_allow_cleartext = yes
auth_mechanisms = plain
auth_verbose = yes
mail_plugin_dir = /usr/lib64/dovecot/modules
namespace inbox {
  inbox = yes
  mail_driver = maildir
  mail_path = ~/Maildir
  prefix = INBOX.
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    special_use = \Trash
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox "Sent Messages" {
    special_use = \Sent
  }
}
passdb pam {
  service_name = dovecot
}
userdb passwd {
  use_worker = yes
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = postfix
    mode = 0666
    user = postfix
  }
}
ssl = yes
ssl_server {
  cert_file = /etc/letsencrypt/live/<mydomain>/fullchain.pem
  dh_file = /etc/dovecot/dh.pem
  key_file = /etc/letsencrypt/live/<mydomain>/privkey.pem
}
sieve_script personal {
  active_path = ~/.dovecot.sieve
  driver = file
  path = ~/sieve
}

When connecting my email client to dovecot, the connection succeeds, but after awhile it 
disconnects.

In /var/log/dovecot I get:

May 18 17:36:15 imap-login: Warning: Auth process not responding, delayed sending 
initial response (greeting): user=<>, rip=192.168.178.6, lip=192.168.178.15, 
session=<2IMbUhlS8K3AqLIG>
May 18 17:36:45 imap-login: Info: Login aborted: Connection closed (disconnected before 
auth was ready, waited 40 secs) (auth_process_not_ready): user=<>, rip=192.168.178.6, 
lip=192.168.178.15, session=<2IMbUhlS8K3AqLIG>
May 18 17:36:45 imap-login: Error: auth-client: conn unix:login: connect(login) in directory 
/ failed: Permission denied (euid=473(<getpwuid() error>) egid=473(<getgrgid() error>) 
missing +x perm: /, we're not in group 474, dir owned by 0:474 mode=0750)
May 18 17:36:45 imap-login: Error: auth-client: conn unix:login: connect(login) in directory 
/ failed: Permission denied (euid=473(<getpwuid() error>) egid=473(<getgrgid() error>) 
missing +x perm: /, we're not in group 474, dir owned by 0:474 mode=0750)

473 is connected with account/group dovenull an 474 is connected with account/group 
dovecot

I can't find a solution when searching the internet.
-- 
fr.gr.

member openSUSE
Freek de Kruijf

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]