On 2015-07-25, Tor Houghton <[email protected]> wrote: > Hi, > > It appears that the dovecot package won't start at boot time unless the > ulimit is raised for open files: > > .. > Jul 25 13:39:53 duck dovecot: master: Error: > open(/var/dovecot/login-master-notifyda2290c6851a9f03) failed: Too many open > files > .. > > If I add the following to /etc/login.conf -- > > dovecot:\ > :openfiles-cur=1024:\ > :tc=daemon: > > it starts OK. I suppose it's either do the above, or change the defaults in > /etc/dovecot/conf.d/10-master.conf .. ? > > Regards, > > Tor > >
When you "pkg_add dovecot", it says "Look in /usr/local/share/doc/pkg-readmes for extra documentation", and the dovecot file in there explains that you need to do just this.

