squid whitelist office365 and gmail emails

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

squid whitelist office365 and gmail emails

robert k Wild
finally solved it and its working really nicely

what i did was to monitor the "access.log" using the watch and tail command to see what websites it was actually going to

#Block MIME types
acl mimetype urlpath_regex -i \.exe$ \.msi$
http_access deny mimetype

#HTTPS whitelist websites
acl whitelist ssl::server_name "/etc/squid/whitelist.txt"
http_access allow whitelist
http_access deny all

cat /etc/squid/whitelist.txt
.bing.com
.msedge.net
.msftauth.net
.msauth.net
.msocdn.com
.office.com
.office365.com
.microsoft.com
.outlook.com
.live.com
.microsoftonline.com
.akamaized.net
.c.s-microsoft.com
.gfx.ms
.google.com
.google.co.uk
.googleusercontent.com
.googleapis.com
.withgoogle.com
.gstatic.com

--
Regards,

Robert K Wild.

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users