I'm trying setting up Cyrus imap server on OpenBSD 5.3 amd64 realease but unsuccessful. The same configuration works fine on 5.1 release but seems buggy on 5.3.
*The result of #uname -a command is:* OpenBSD mail.host.name 5.3 GENERIC.MP#62 amd64 *I have installed only the packages listed below:* cyrus-imapd-2.4.17p0 Cyrus IMAP server cyrus-sasl-2.1.26p0-ldap RFC 2222 SASL (Simple Authentication and Security Layer) db-4.6.21v0 Berkeley DB package, revision 4 openldap-client-2.4.33 open-source LDAP software (client) partial-openldap-client-2.4.33.1 pcre-8.31 perl-compatible regular expression library quirks-1.80 exceptions to pkg_add rules Here is my log messages just after installing Cyrus-imapd and Cyrus-sasl packages and reboot the mail server as usual: *1. From maillog* Oct 7 14:26:19 mail sendmail[23998]: r97AQJsw023998: to=root, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=138497, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/Sendmail.conf) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libldapdb.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libanonymous.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libcrammd5.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libdigestmd5.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libgssapiv2.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/liblogin.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libntlm.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libotp.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libplain.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libsasldb.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[22717]: error: safesasl(/usr/local/lib/sasl2/libscram.so) failed: Permission denied Oct 7 14:26:20 mail sm-mta[9277]: starting daemon (8.14.6): SMTP+queueing@00:30:00 *2. From imapd.log (level 6 logging by syslog)* Oct 7 14:24:14 mail master[9219]: service pop3 pid 2816 in READY state: terminated abnormally Oct 7 14:24:14 mail master[26230]: about to exec /usr/local/libexec/cyrus-imapd/pop3d Oct 7 14:24:14 mail master[9219]: process 26230 exited, status 4 Oct 7 14:24:14 mail master[9219]: service pop3 pid 26230 in READY state: terminated abnormally Oct 7 14:24:14 mail master[7816]: about to exec /usr/local/libexec/cyrus-imapd/pop3d Oct 7 14:24:14 mail master[9219]: process 7816 exited, status 4 Oct 7 14:24:14 mail master[9219]: service pop3 pid 7816 in READY state: terminated abnormally Oct 7 14:24:14 mail master[4168]: about to exec /usr/local/libexec/cyrus-imapd/pop3d Oct 7 14:24:14 mail master[9219]: process 4168 exited, status 4 Oct 7 14:24:14 mail master[9219]: service pop3 pid 4168 in READY state: terminated abnormally Oct 7 14:26:21 mail master[13820]: process started Oct 7 14:26:21 mail master[10318]: about to exec /usr/local/libexec/cyrus-imapd/ctl_cyrusdb Oct 7 14:26:21 mail master[13820]: process 10318 exited, status 4 Oct 7 14:26:21 mail master[20790]: about to exec /usr/local/libexec/cyrus-imapd/idled Oct 7 14:26:21 mail master[13820]: process 20790 exited, status 4 Oct 7 14:26:21 mail master[13820]: ready for work Oct 7 14:26:21 mail master[25347]: about to exec /usr/local/libexec/cyrus-imapd/ctl_cyrusdb Oct 7 14:26:21 mail master[13820]: process 25347 exited, status 4 *3. From imapd-auth.log* ./imapd-auth.log[6]: Oct: not found ./imapd-auth.log[7]: Oct: not found ./imapd-auth.log[8]: Oct: not found ./imapd-auth.log[9]: Oct: not found ./imapd-auth.log[10]: Oct: not found ./imapd-auth.log[11]: Oct: not found *Just after first imap client connection (I use Thunderbird v17.0.9) the imapd.log grows so rapidly that after 2 minutes I have about 200mb of text with the same error like this:* Oct 7 14:46:52 mail master[13820]: process 1668 exited, status 4 Oct 7 14:46:52 mail master[13820]: service imap pid 1668 in READY state: terminated abnormally Oct 7 14:46:52 mail master[3217]: about to exec /usr/local/libexec/cyrus-imapd/imapd Oct 7 14:46:52 mail master[13820]: process 3217 exited, status 4 Oct 7 14:46:52 mail master[13820]: service imap pid 3217 in READY state: terminated abnormally Oct 7 14:46:52 mail master[7262]: about to exec /usr/local/libexec/cyrus-imapd/imapd Oct 7 14:46:52 mail master[13820]: process 7262 exited, status 4 Oct 7 14:46:52 mail master[13820]: service imap pid 7262 in READY state: terminated *4. Some errors from /var/log/messages after first Thunderbird connection to IMAP server* Oct 7 14:50:01 mail master[13820]: service imap pid 9197 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 16107 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 8192 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 20647 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 10204 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 15752 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 8244 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 3123 in READY state: terminated abnormally Oct 7 14:50:01 mail master[13820]: service imap pid 22484 in READY state: terminated abnormally In conclusion, after first connection by the client to the IMAP server it is completely broken and need shut down by killing the master process to prevent rapidly growing of log files. What I'am doing wrong? Could you recommend a stable IMAP server version by Cyrus for OpenBSD 5.3 platform? Thank you for answer in advance. *My dmesg is:* OpenBSD 5.3 (GENERIC.MP) #62: Tue Mar 12 18:21:20 MDT 2013 dera...@amd64.openbsd.org:/ usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 4284059648 (4085MB) avail mem = 4147523584 (3955MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xbf79c000 (63 entries) bios0: vendor Dell Inc. version "1.6.4" date 03/02/2011 bios0: Dell Inc. PowerEdge R210 acpi0 at bios0: rev 2 acpi0: sleep states S0 S4 S5 acpi0: tables DSDT FACP APIC SPCR HPET DM__ MCFG WDAT SLIC ERST HEST BERT EINJ TCPA SSDT acpi0: wakeup devices PCI0(S5) USBA(S0) USBB(S0) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 2394.34 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 132MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3430 @ 2.40GHz, 2393.99 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,LONG,LAHF,PERF,ITSC cpu1: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 20, 24 pins acpihpet0 at acpi0: 14318179 Hz acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 1 (LYD0) acpiprt2 at acpi0: bus -1 (LYD2) acpiprt3 at acpi0: bus -1 (HVD0) acpiprt4 at acpi0: bus -1 (HVD2) acpiprt5 at acpi0: bus 2 (PEX0) acpiprt6 at acpi0: bus -1 (PEX4) acpiprt7 at acpi0: bus -1 (PEX5) acpiprt8 at acpi0: bus 3 (COMP) acpicpu0 at acpi0: C3, C1, PSS acpicpu1 at acpi0: C3, C1, PSS ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2394 MHz: speeds: 2394, 2261, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: msi pci1 at ppb0 bus 1 mpi0 at pci1 dev 0 function 0 "Symbios Logic SAS1068E" rev 0x08: msi scsibus0 at mpi0: 112 targets sd0 at scsibus0 targ 0 lun 0: <Dell, VIRTUAL DISK, 1028> SCSI3 0/direct fixed naa.600508e0000000005326954c3d32a60d sd0: 476416MB, 512 bytes/sector, 975699968 sectors "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05 pci2 at ppb1 bus 2 bnx0 at pci2 dev 0 function 0 "Broadcom BCM5716" rev 0x20: apic 0 int 16 bnx1 at pci2 dev 0 function 1 "Broadcom BCM5716" rev 0x20: apic 0 int 17 ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 0 int 22 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5 pci3 at ppb2 bus 3 vga1 at pci3 dev 3 function 0 "Matrox MGA G200eW" rev 0x0a wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05 pciide0 at pci0 dev 31 function 2 "Intel 3400 SATA" rev 0x05: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 0 int 20 for native-PCI interrupt atapiscsi0 at pciide0 channel 1 drive 1 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <TSSTcorp, DVD+-RW TS-L633J, D150> ATAPI 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5 pciide1 at pci0 dev 31 function 5 "Intel 3400 SATA" rev 0x05: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 0 int 21 for native-PCI interrupt isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 kbc: cmd word write error pcppi0 at isa0 port 0x61 spkr0 at pcppi0 mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub4 at uhub3 port 5 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (9872c3d13c5e8dd4.a) swap on sd0b dump on sd0b bnx0: address bc:30:5b:db:a1:83 brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 bnx1: address bc:30:5b:db:a1:84 brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8 <deniza...@gmail.com>