If I can help (I'm the FreeBSD port maintainer for dovecot), I'm willing.

I can also provide access to a server to help debug....

On Mon, Mar 11, 2019 at 7:54 PM Timo Sirainen via dovecot <dovecot@dovecot.org> wrote:
On 8 Mar 2019, at 20.44, Marcelo Coelho via dovecot <dovecot@dovecot.org> wrote:
>
> Hi,
>
> I follow different setup instructions and I can't make imap-hibernate work. I've tried vmail and dovecot as users, tried to set mode to 0666, without success. I'm using FreeBSD 11.2.
>
> Is imap-hibernate compatible with FreeBSD 11.2?
>
>
>
> My operational system:
>
> # uname -v
> FreeBSD 11.2-RELEASE-p9 #0: Tue Feb  5 15:30:36 UTC 2019     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
>
> Here are my logs:
>
> Mar  8 15:30:57 servername dovecot: imap(user@domain.com:52.125.128.90): Error: kevent(-1) for notify remove failed: Bad file descriptor
> Mar  8 15:30:57 servername dovecot: imap(user@domain.com:52.125.128.90): Error: close(-1) for notify remove failed: Bad file descriptor
> Mar  8 15:30:57 servername dovecot: imap-hibernate: Error: Failed to parse client input: Invalid peer_dev_minor value: 18446744073709486335
> Mar  8 15:30:57 servername dovecot: imap(user@domain.com:52.125.128.90): Error: /opt/dovecot/2.3.5/var/run/dovecot/imap-hibernate returned failure: Failed to parse client input: Invalid peer_dev_minor value: 18446744073709486335

Looks bad. I suppose it's broken with FreeBSD.



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: larryrtx@gmail.com
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106