Creating an add_hdr rule to allow Google enterprise gmail
Google provides a mechanism in the form of a custom header in the request, that allows Google to recognize and allow or block access to enterprise gmail and other Google Apps for Business.
To make Google’s solution work for enterprise gmail: