Hi, I have tried to write an auth helper for BASIC authentication against IMAP and IMAPS servers. Please be aware that it is written in Perl and is available at: https://github.com/codemarauder/squid-perl-hacks/blob/master/imap-auth.pl I will soon submit it as per official contribution process as outlined by Amos. Key features are: 1. Supports IMAP and IMAPS 2. Authentication against shared servers, e.g. Google IMAPS, restricted to just one domain, so a smart user can't use @gmail.com but only @mygooglehostedmail.com domain to use the proxy. 3. Free as in freedom Feedback is welcome. Thanks & regards, Nishant