Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 05-07-2010, 08:07 AM   #1
LQ Newbie
Registered: Nov 2004
Location: Pakistan
Posts: 24

Rep: Reputation: 15
Gmail Attachments??

I was wondering how to block attachments to gmail. I am running squid 2.7 stab9 with dansguardian 2.10, users authenticated from LDAP. I have configured the POST restrictions in Dansguardian which does block all attachments to hotmail/yahoo etc etc but attachments to gmail continue to upload. I have tried

acl fileupload req_mime_type -i multipart/form-data
acl fileupload req_mime_type -i ^multipart/form-data$

acl UPLIMIT req_header Content-Length [5-9][0-9]{5,}
acl UPMETH method post


but nothing seems to work on it....

any suggestions/pointers would be highly appreciated.

Old 05-07-2010, 12:09 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
You might want to show us what the access log looks like when an attachment is done. That said, Gmail uses encrypted connections, so you're probably out of luck here.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Prob. with gmail It's that time of day. Gmail aims to help you in many ways..." frenchn00b General 1 04-10-2009 04:27 PM
Gmail - .exe attachments... wtf??? crashmeister General 6 01-04-2009 12:59 AM
gmail: A sort of gmail-notify for the console ? frenchn00b Linux - Software 1 05-13-2008 04:54 PM
SUSE Open 10.3. Gmail. PITA. (If you don't have Gmail, you will not understand) Lola Kews SUSE / openSUSE 6 03-19-2008 07:43 AM
LXer: Import mail into Gmail with the Gmail Loader LXer Syndicated Linux News 0 03-19-2007 06:01 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:41 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration