Hello  Komal,

Create a file say "IMsites.txt" containing the following domain names :
messenger.yahoo.com
msg.yahoo.com
scd.yahoo.com
sc5.yahoo.com
webcam.yahoo.com
filetransfer.yahoo.com

Then insert the following line of directives into your squid.conf
-------------------------------------------
acl all src 0.0.0.0/0.0.0.0
acl DAY time 06:00-18:00
acl allowedip src <youripaddress/netmask>
acl IMsites dstdom_regex "PATH/TO/yahoosites.txt"

http_access allow  allowedip IMsites DAY
http_access deny all IMsites

-------------------------------------------
these lines should be given before the "http_access deny all"

NOTE: This is only for Yahoo IM. if you want for msn  IMs you have to add
those domains in the "IMsites.txt" file

Regards
-Zen

> i want to restirct messanger service for yahoo and msn etcc etc on time
> basis
>
> Thank you
>
> Komal
>
>

Reply via email to