Re: Red Hat 9 to FC2 and email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I changed /etc/dovecot.conf to have

default_mail_env = mbox:~/mail/:INBOX=/var/spool/mail/%u

and unfortunately I get the same problem ...

Jul  1 08:52:24 swtf dovecot: Dovecot starting up
Jul  1 08:52:37 swtf pop3-login: Login: judy [192.168.1.135]
Jul  1 08:53:08 swtf pop3(judy): unlink(/var/spool/mail/judy.lock)
failed: Permission denied
Jul  1 08:53:08 swtf pop3(judy): file_lock_dotlock() failed with mbox
file /var/spool/mail/judy: Permission denied
Jul  1 08:53:39 swtf pop3(judy): unlink(/var/spool/mail/judy.lock)
failed: Permission denied
Jul  1 08:53:39 swtf pop3(judy): file_lock_dotlock() failed with mbox
file /var/spool/mail/judy: Permission denied
Jul  1 08:53:39 swtf pop3: I/O leak: 0x8050cb0 (0)
Jul  1 08:53:39 swtf pop3: I/O leak: 0x8084da0 (1)
Jul  1 08:53:39 swtf pop3: Timeout leak: 0x8065e20


The directories seem ok

# ls -ld /var/spool/mail
drwxrwxr-x  2 root mail 4096 Jul  1 08:44 /var/spool/mail
# ls -l /var/spool/mail/judy
-rw-------  1 judy mail 467 Jul  1 00:41 /var/spool/mail/judy
#

I then changed /etc/dovecot.conf to have
	mbox_locks = fcntl
rather than the default (which I believe is dotlock fcntl) and lo and
behold, I could pick up the e-mail.

I'm relatively happy now, but I'd love to know why dotlock locking
doesn't work. Does some service other than dovecot need to be
started/configured?


Regards

Burn
Am Mi, den 30.06.2004 schrieb Burn Alting um 16:51:

> OK, I backed out Cyrus IMAP and went to dovecot.
> 
> Trouble is when I attempt to get the mail from a Windows box, maillog
> shows
> Jul  1 00:41:59 swtf pop3-login: Login: judy [192.168.1.135]
> Jul  1 00:41:59 swtf pop3(judy): open(/var/mail/judy.lock) failed:
> Permission denied

Should be /var/spool/mail/!

> Jul  1 00:41:59 swtf pop3(judy): file_lock_dotlock() failed with mbox
> file /var/mail/judy: Permission denied
> Jul  1 00:41:59 swtf pop3(judy): open(/var/mail/judy.lock) failed:
> Permission denied
> Jul  1 00:41:59 swtf pop3(judy): file_lock_dotlock() failed with mbox
> file /var/mail/judy: Permission denied
> Jul  1 00:41:59 swtf pop3: I/O leak: 0x8050cb0 (0)
> Jul  1 00:41:59 swtf pop3: I/O leak: 0x8084da0 (1)
> Jul  1 00:41:59 swtf pop3: Timeout leak: 0x8065e20
> 
> Any clues?

You need to edit dovecot.conf and change the path to the INBOX.

> Burn

Alexander




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux