On Fri, 8 May 2009 23:38:55 +0400 (MSD)
"Kirill Bychkov" <ya...@linklevel.net> wrote:

> Hi. Recently I've upgraded some of my servers from 4.4 to 4.5. After
> upgrading packages I've got two errors with dovecot:
> starting local daemons: dovecotError: Error in configuration file
> /etc/dovecot.conf line 280: Unknown setting: mmap_no_write
> Fatal: Invalid configuration in /etc/dovecot.conf
> This was solved by commenting out this line. And the second error:
> % sudo /usr/local/sbin/dovecot
> Warning: fd limit 128 is lower than what Dovecot can use under full
> load (more than 640). Either grow the limit or change
> login_max_processes_count and max_mail_processes settings
> Info: If you have trouble with authentication failures,
> enable auth_debug setting. See
> http://wiki.dovecot.org/WhyDoesItNotWork As I can get, it's caused by
> limits set for daemons in system? Should I ignore it or not?

mmap_no_write was removed some time ago, just delete that line.

for the fd limit start dovecot with a different class.
make a new one in /etc/login.conf or raise the limit on an existing one.
to set the class:
# sudo usermod -L whatever _dovecot
if you want to start it by hand you have to tell it what class to use:
# sudo -c whatever /usr/local/sbin/dovecot

- Robert

Reply via email to