Question: I want to configure dovecot as gmail imap proxy. If any system in my network
wants to connect to imap.gmail.com,993 it has to go through the dovecot proxy.

Is it possible to setup such environment with dovecot? If yes, can you please
help me to configure my dovecot server.

Warm Regards

Supratik

Answer: 
Dovecot can act as an IMAP Proxy.
This might help  

<http://wiki.dovecot.org/PasswordDatabase/ExtraFields/Proxy>
There is something called [imapproxy](http://www.imapproxy.org) and it may suit your purposes better.