Has anyone successfully compiled PHP 5 with the -imap option using Dovecot server?  I get the error:
 
"Cannot find rfc822.h. Please check your IMAP installation".
 
It seems that Dovecot has no development libraries so I am stuck?  Will I have to scrap Dovecot and use another server like Cyrus?
 
Thanks,
Don

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.813 / Virus Database: 553 - Release Date: 12/13/2004