Здравствуйте, Yarema.
The annoying problem with that is that this will happen with ALL plugins, not just with autocreate plugin. So it's kind of in the wrong wiki page. But people probably won't find it elsewhere.. I'd rather see about getting this fixed in FreeBSD port.
I just did a fresh build/install based on the latest dovecot-1.1.7_1 in FreeBSD ports. Inspecting work/dovecot-1.1.7/config.h revealed this:
/* Define to 1 if you have the
header file. */ /* #undef HAVE_SYS_SYSMACROS_H */
So all I can say is I cannot reproduce this issue when building from ports.
Hm. I update ports and try it again:
mx# cd /usr/ports/mail/dovecot mx# make clean ===> Cleaning for dovecot-1.1.7_1 mx# make extract ===> WARNING: Vulnerability database out of date, checking anyway ===> Found saved configuration for dovecot-1.1.3 ===> Extracting for dovecot-1.1.7_1 => MD5 Checksum OK for dovecot-1.1.7.tar.gz. => SHA256 Checksum OK for dovecot-1.1.7.tar.gz. => MD5 Checksum OK for dovecot-1.1.7-managesieve-0.10.4.diff.gz. => SHA256 Checksum OK for dovecot-1.1.7-managesieve-0.10.4.diff.gz. mx# cd /tmp/ mx# sh -x /tmp/patch.sh
- export DOVECOT=/usr/ports/mail/dovecot/work/dovecot-1.1.7
- gcc -fPIC -shared -g -Wall -I/usr/ports/mail/dovecot/work/dovecot-1.1.7 -I/usr/ports/mail/dovecot/work/dovecot-1.1.7/src/lib -I/usr/ports/mail/dovecot/work/dovecot-1.1.7/src/lib-storage -I/usr/ports/mail/dovecot/work/dovecot-1.1.7/src/lib-mail -I/usr/ports/mail/dovecot/work/dovecot-1.1.7/src/lib-imap -DHAVE_CONFIG_H autocreate-plugin.c -o autocreate_plugin.so In file included from /usr/ports/mail/dovecot/work/dovecot-1.1.7/src/lib/lib.h:24, from autocreate-plugin.c:22: /usr/ports/mail/dovecot/work/dovecot-1.1.7/src/lib/compat.h:55:29: error: sys/sysmacros.h: No such file or directory mx# uname -a FreeBSD mx.domain.off 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Thu Oct 2 14:18:27 MSD 2008 root@mx.domain.off:/usr/obj/usr/src/sys/CUSTOM i386 mx#
Diff from GENERIC kernel it is just PF and ALTQ enabled.
-- Best regards, Proskurin Kirill