Hi,
I am using squid2.6stable18 on ubuntu 8.04 server.
I have configured squid for very basic proxy and my squid.conf is below.
I am not able to access thunderbird email through this proxy
configuration, I am using thunderbird from a Ubuntu client, but i am
able to access internet using Mozilla Firefox browser, but not
thunderbird. How can i get this working?
The thunderbird client uses Port 110 and 25 to access emails and i
have enabled them here.
squid.conf
visible_hostname server
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
hosts_file /etc/hosts
http_port 10.10.10.10:3128
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
debug_options ALL,9
cache_access_log /var/log/squid/access.log
cache_dir null /tmp
acl abc urlpath_regex -i\.(mp3|exe|mp4|mov|sex)(\?.*)?$
acl videos dstdomain .youtube.com .yimg.com .orkut.com .sex.com
.teen.com .adult.com .mp3.com
#cache_mem 256 MB
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 110
acl Safe_ports port 25
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 631 # cups
acl Safe_ports port 777 # multiling http
acl Safe_ports port 901 # SWAT
acl Safe_ports port 993 # IMAP
acl Safe_ports port 587 # SMTP
acl Safe_ports port 22 # SSH
acl purge method PURGE
acl special_urls url_regex "/etc/squid/squid-noblock.acl"
acl extndeny url_regex -i "/etc/squid/blocks.files.acl"
acl malware_block_list url_regex -i "/etc/squid/malware_block_list.txt"
acl lan src 192.168.1.0 10.10.10.0/24
acl stud ident_regex babu
acl download method GET
acl CONNECT method CONNECT
ident_lookup_access allow all
http_access deny extndeny
http_access deny purge
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny abc
http_access deny videos
http_access allow manager localhost
http_access deny manager
http_access allow purge localhost
http_access allow special_urls
http_access deny extndeny download
http_access deny malware_block_list
deny_info http://malware.hiperlinks.com.br/denied.shtml malware_block_list
http_access allow localhost
http_access allow lan
http_access deny all
http_reply_access allow all
icp_access allow all
coredump_dir /var/spool/squid
Thanks
Avinash
Received on Fri Sep 18 2009 - 05:35:40 MDT
This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 12:00:03 MDT