dovecot2-2.2.13_3 FreeBSD 9.3 CPU: Intel(R) Celeron(R) CPU E1400 @ 2.00GHz (1995.04-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6fd Family = 6 Model = f Stepping = 13 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0xe39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,CX16,xTPR,PDCM> AMD Features=0x20100000<NX,LM> AMD Features2=0x1<LAHF> TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 3131523072 (2986 MB)
*Errors like this one were filling my maillog:*
Aug 18 14:20:54 darwin dovecot: imap(yvan): Error: posix_fadvise(/home/yvan/.Maildir/cur/1408371037.5419_0.darwin:2,a) failed: Function not implemented Aug 18 14:20:54 darwin dovecot: imap(yvan): Error: posix_fadvise(/home/yvan/.Maildir/cur/1408371653.M92611P3439.darwin,S=44011,W=44796:2,S) failed: Function not implemented Aug 18 14:20:54 darwin dovecot: imap(yvan): Error: posix_fadvise(/home/yvan/.Maildir/cur/1408371653.M92611P3439.darwin,S=44011,W=44796:2,S) failed: Function not implemented
This has been happening for at least a year. Other than this error, dovecot appeared to run normally.
I finally got it to go away by recompiling with *kqueue *disabled.
dovecot -n follows. /(Note OS version is incorrectly reported due to host/jail version mismatch)./
darwin# dovecot -n # 2.2.13: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 9.0-RELEASE-p3 i386 ufs auth_mechanisms = plain login auth_verbose = yes auth_verbose_passwords = plain listen = 67.205.69.28 mail_location = maildir:/home/%n/.Maildir namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Trash { special_use = \Trash } prefix = } passdb { args = dovecot driver = pam } protocols = imap service auth { unix_listener /var/spool/postfix/private/auth { mode = 0666 } } ssl_ca = </usr/local/etc/ssl/chain.pem ssl_cert = </usr/local/etc/ssl/smtp.crt ssl_key = </usr/local/etc/ssl/darwin.key userdb { driver = passwd } verbose_ssl = yes