Stefan Beke wrote:
> Hello Nico,
> 
> thanks for quick reply.
> 
> Does dovecot actually run under this login class?
> I did modify login.conf
> # cap_mkdb /etc/login.conf
> than kill -HUP "_dovecot_PID"
> 
> I hope that's enough to run it under dovecot class. How do I find out?

If you perform a `ps aux` you will see what user dovecot is running as, that's
the user whose class you want to check.

Then `grep username /etc/master.passwd` (I presume you can sudo) and the 5th
field is the user's class.

> What does `sysctl kern.maxfiles` say?
> 
> $sysctl kern.maxfiles
> kern.maxfiles=1772
> 
> It's less than my setting in login.conf, but this should be enough anyway.

You might find dovecot is not running at the user you think it is (or at least
isn't in the class you think it is).

As a side note I have noticed that Dovecot can be a bit fd hungry.

HTH
Dave

Reply via email to