Fetchmail and Courier IMAP with virtual users

Hi guys, reading this HOWTO http://www.howtoforge.com/debian_etch_fetchmail, I need some help of how I could apply this, but instead of system users I use virtual users with Courier IMAP/mysql (using vmail as system user inside /home/vmail/mydomain/user/.maildir/).

I've searched a lot about fetchmail but no examples about what I need.

Thanks for the reply. That looks like it could work.
But getmail has a global configuration file? (like /etc/fetchmailrc) so i could define many users inside it without putting the configuration file in a home foler (cause remember i have virtual users and i have only vmail as home user) or just putting it inside root home willl work?