FW: Unable to create needed folders
Ken Zachreson
ken.zachreson at grandcanyonresort.com
Wed Mar 15 20:55:36 EET 2017
Never mind,
I am stupid and did not read all available information. Needed to change permissions on /var/mail/*
Thank You,
Ken Z
-----Original Message-----
From: Ken Zachreson
Sent: Wednesday, March 15, 2017 10:28 AM
To: 'dovecot at dovecot.org' <dovecot at dovecot.org>
Subject: Unable to create needed folders
Greetings,
The log reports that a process cannot create the needed folders. Please review and tell me what I have done wrong.
dovecot 2.0.9
# 2.0.9: /etc/dovecot/dovecot.conf
doveconf: Warning: NOTE: You can get a new clean config file with: doveconf -n > dovecot-new.conf
doveconf: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:85: protocol { ssl_listen } has been replaced by service { inet_listener { address } } # OS: Linux 2.6.32-642.15.1.el6.x86_64 x86_64 CentOS release 6.8 (Final) auth_mechanisms = plain login last_valid_gid = 520 last_valid_uid = 520 mail_location = mbox:~/mail/:INBOX=/var/mail/%u mbox_write_locks = fcntl passdb {
args = dovecot
driver = pam
}
protocols = imap
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service imap-login {
inet_listener imaps {
address = *
}
}
service pop3-login {
inet_listener pop3s {
address = *
}
}
ssl_ca = /etc/pki/tls/certs/gd_bundle-g2-g1.crt
ssl_cert = </etc/pki/tls/certs/c1e209e3ca2e1e5.crt
ssl_key = </etc/pki/tls/private/gcrcnet.key userdb {
driver = passwd
}
protocol pop3 {
pop3_uidl_format = %08Xv%08Xu
}
ERROR Message from log
Mar 15 10:14:03 MultiTronic6 dovecot: imap-login: Login: user=<wifi.adm>, method=LOGIN, rip=xx.xx.xx.xx, lip=yy.yy.yy.yy, mpid=5973, TLS Mar 15 10:14:03 MultiTronic6 dovecot: imap(wifi.adm): Error: chown(/home/wifi.adm/mail/.imap/INBOX, -1, 12(mail)) failed: Operation not permitted (egid=504(wifi.adm), group based on /var/mail/wifi.adm) Mar 15 10:14:03 MultiTronic6 dovecot: imap(wifi.adm): Error: mkdir(/home/wifi.adm/mail/.imap/INBOX) failed: Operation not permitted Mar 15 10:14:03 MultiTronic6 dovecot: imap(wifi.adm): Connection closed bytes=39/423
Thank You,
Ken Zachreson
IT Manager, Grand Canyon Resort Corp
928-769-2629
928-769-2638 Help Desk
More information about the dovecot
mailing list