There is no point in installing from ports, its' a fresh openbsd -current install and dovecot from the packages.
The error was because I was starting dovecot from the command line (with -F argument), while it started without problems once I tried as a boot service.
On Tue, Oct 28, 2014 at 11:48 PM, Peter Chiochetti <pch@myzel.net> wrote:
Am 2014-10-28 um 21:05 schrieb soko.tica:
After many hours I still fail to configure properly dovecot as the LDA with opensmtpd, for system users only. I don't want pop at all, jus lmtp and imap, but still haven't stripped it. Here is the info, thanks in advance for your response:
[…]
pipe() failed: Too many open files
failed: Too many open files open(/var/dovecot/login-master-notifya57a2b8821460734) failed: Too many open files safe_mkstemp(/var/dovecot/login-master-notify) failed: Too many open files failed: Too many open files failed: Too many open files failed: Too many open files pipe() failed: Too many open files failed: Too many open files
[…]
This looks like you hit a system limit. I am left wondering why anything works at all on the system.
Your best bet: install from the ports collection, try to run without any change in configuration. See if it works. Change a little, see if if it works. Rinse, repeat.
-- peter