Could Someone Explain the Dovecot Issue?

Ow Mun Heng Ow.Mun.Heng at wdc.com
Mon Jan 17 07:41:39 UTC 2005


On Sun, 2005-01-16 at 23:25, Alexander Dalloz wrote:
> Am So, den 16.01.2005 schrieb David Cary Hart um 15:57:
> 
> > I awoke this morning to find that our server would not allow access to
> > my mailbox. Coffee, Google and MUCH more coffee with an SSH chaser and I
> > got it fixed by adding "mail_extra_groups = mail" to dovecot.conf.
> > 
> > That said, what did this do, what did it fix and why did this
> > (presumably) emerge with an update?
> 
> Please see "2. dovecot.conf should default to fcntl locking" in
> 
> https://www.redhat.com/archives/fedora-devel-list/2005-January/msg00582.html
> 
> Something obviously went wrong with the dovecot update (unfortunately no
> announce mail available for this package).
> 
> "mail_extra_groups = mail" works because
> 
> $ ls -ld /var/spool/mail/ /var/spool/mail/adalloz
> drwxrwxr-x  3 root    mail     4096 16. Jan 14:55 /var/spool/mail/
> -rw-rw----  1 adalloz mail 11036600 16. Jan 13:18
> /var/spool/mail/adalloz
> 
> system account mail group owns the mail spool and the users' mbox files.

Hmm... I posted about this little "iNFO" ages ago.

<----SNIP fro Old List Mail--->

On Fri, 2004-09-10 at 11:32, Ow Mun Heng wrote: 
> This is Stricly FYI because I can't seem to get Dovecot running as a
> pop3 server for my box.
> 
> #rpm -qa dovecot
> dovecot-0.99.10.9-2.1.fc2.dag
> 
> 
> What happens:
> $ telnet localhost 110
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> +OK dovecot ready.
> user user_dove
> +OK
> pass xxxx
> +OK Logged in.
> Connection closed by foreign host.
> 
> Error Description:
> Error: open(/var/mail/user.lock) failed: Permission denied
> Error: file_lock_dotlock() failed with mbox file /var/mail/user: Permission denied
> 
> Solution:
> http://wiki.dovecot.org/moin.cgi/VarMailDotLock
> 
> Since v0.99.10.9 it's possible to fix this by adding to config file: 
> mail_extra_groups = mail
> 
> After I did that, pop3 works.
> 
> So.. in effect, Dovecot doesn't work out-of-the-box as I've read.
> Anyway, this is FYI

<--- END SNIP ---->


-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 15:38:56 up 41 min, 4 
users, load average: 0.54, 0.79, 




More information about the users mailing list