Greška u dovecot.log-u

Ako vam se u /var/log/dovecot.log javlja ovakva greška (a cela priča ipak radi):
Jun 05 15:34:50 imap(korisnik1): Error: chown(/home/korisnik1/mail/.imap/INBOX, -1, 12(mail)) failed: Operation not permitted (egid=503(korisnik1), group based on /var/spool/mail/korisnik1)
Jun 05 15:34:50 imap(korisnik1): Error: mkdir(/home/korisnik1/mail/.imap/INBOX) failed: Operation not permitted
Jun 05 15:34:50 imap(korisnik1): Error: fchown(/home/korisnik1/mail/.imap/INBOX/dovecot.index.log.newlock, -1, 12(mail)) failed: Operation not permitted (egid=503(korisnik1), group based on /var/spool/mail/korisnik1)

Proverite karakteristike naloga :
# id korisnik1
uid=503(korisnik1) gid=503(korisnik) groups=503(korisnik1)
Videti pod kojim nalogom se vrti Sendmail (obično je “mail”) :
# id mail
uid=8(mail) gid=12(mail) groups=12(mail)
I dodati problematičnom korisniku grupu “mail” :
# usermod -a -G mail korisnik1
Provera :
# id korisnik1
uid=503(korisnik1) gid=503(korisnik1) groups=503(korisnik1),12(mail)

Comments are closed.