[Dovecot] failure to create lock
Jun 8 23:14:09 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: P ermission denied Jun 8 23:14:09 dakota pop3(dakota): file_lock_dotlock() failed with mbox file / var/spool/mail/dakota: Permission denied Jun 8 23:14:09 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: P ermission denied Jun 8 23:14:09 dakota pop3(dakota): file_lock_dotlock() failed with mbox file / var/spool/mail/dakota: Permission denied Jun 8 23:14:09 dakota pop3: I/O leak: 0x8050b08 (0) Jun 8 23:14:09 dakota pop3: I/O leak: 0x807c2b4 (1) Jun 8 23:14:09 dakota pop3: Timeout leak: 0x8062520
id dovecot uid=97(dovecot) gid=12(mail) grupos=12(mail)
[root@dakota root]# su dovecot bash-2.05b$ touch /var/spool/mail/dakota.lock bash-2.05b$ ls -la /var/spool/mail/dakota.lock -rw-r--r-- 1 dovecot mail 0 jun 8 23:16 /var/spool/mail/dakota.lock bash-2.05b$
i have probed all options ... dovecot no create the lock, the user dovecot works, but no the program
i need help for this problem.. :(
regards
dakota@dakotabcn.net Administrador Servidor dakotabcn.net LINUX Registrered USER 93707 :) P.o Box 579 08913 Badalona (Barcelona) SPAIN firmas GnuPG en http://pgp.escomposlinux.org/ dakota@menta.net || dakota@escomposlinux.org
- Equipos PIV 2.2 Ghz - 1.5 Gb RAM - W-XP Pro Dual Xeon 2.8Ghz - 1 Gb Ram - Linux Fedora Core 1 Firma para spammers: test@spamout.com.ar (no usar!!!)
- Javi Pardo (DAKOTA) dakota@menta.net (20040608 23:22):
Jun 8 23:14:09 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: P ermission denied [ ... ] i have probed all options ... dovecot no create the lock, the user dovecot works, but no the program
As you can see from the log line, the pop3 process runs under the
dakota' identity, not the
dovecot' identity. The user dakota
cannot create a lock file.
What are the permissions of the /var/spool/mail directory?
-- olive
Hello Thanks Olivier for your help the permissions of /var/spool/mail
drwxrwxr-x 3 root mail 4096 jun 9 14:52 mail
if change the third grup R-X to RWX works? is insecure this action?
regards
----- Original Message ----- From: "Olivier Tharan" olive@pasteur.fr To: "Javi Pardo (DAKOTA)" dakota@menta.net Cc: dovecot@dovecot.org Sent: Wednesday, June 09, 2004 1:37 PM Subject: Re: [Dovecot] failure to create lock
- Javi Pardo (DAKOTA) dakota@menta.net (20040608 23:22):
Jun 8 23:14:09 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: P ermission denied [ ... ] i have probed all options ... dovecot no create the lock, the user dovecot works, but no the program
As you can see from the log line, the pop3 process runs under the
dakota' identity, not the
dovecot' identity. The user dakota cannot create a lock file.What are the permissions of the /var/spool/mail directory?
-- olive
- Javi dakota@menta.net (20040609 14:56):
the permissions of /var/spool/mail
drwxrwxr-x 3 root mail 4096 jun 9 14:52 mail
if change the third grup R-X to RWX works? is insecure this action?
Yes, add also the sticky bit : chmod 1777 /var/spool/mail (or chmod +t) so the permissions appear as dwrxwrxwrt.
-- olive
participants (3)
-
Javi
-
Javi Pardo (DAKOTA)
-
Olivier Tharan