17 Aug
                
                    2006
                
            
            
                17 Aug
                
                '06
                
            
            
            
        
    
                9:02 p.m.
            
        So, apparently the original kqueue code was working fine after all, although it was much more complex than it really needed to be. So, this time there's a really simple and pretty kqueue implementation:
http://dovecot.org/nightly/dovecot-latest.tar.gz
Tested that it seems to work with FreeBSD.