>>>>> "Kshitij" == Kshitij Malhotra <[EMAIL PROTECTED]> writes:
Kshitij> hi list, i've already posted a query once & tried the
Kshitij> solutions provided to me but still i'm facing the
Kshitij> problem. the problems that i'm facing are -
OK. This time I will bite.
First of all, you should realise that squid is a caching proxy server
for *web clients*. It does not do pop, smtp, imap or any other mail
related protocols.
Kshitij> 1. the clients r not able to access mails thru outlook or
Kshitij> ne other mail clients.
Not squid's problem. A simple checklist could be (assuming a remote
mailbox):
a) Do you have IP forwarding enabled? cat
/proc/sys/net/ipv4/ip_forward should come up with 1, not 0. If not,
then do:
echo 1 > /proc/sys/net/ipv4/ip_forward
b) Are you masquerading for your clients? If not:
ipchains -I forward --src your.internal.network/netmask -j MASQ
your.internal.network/netmask would be something like 192.168.1.0/24.
[There's an equivalent iptables rule; can't recall it offhand]
For a local mailbox, are you running either a pop3 daemon or an imap
daemon? Check, in order:
rpm -q xinetd
rpm -q imap
chkconfig --list xinetd (This should show xinetd on your default runlevel)
cat /etc/xinet.d/imap (disable = no, and there shouldn't be a bind = line)
cat /etc/xinet.d/ipop3 ( -ditto- )
Kshitij> 2. the mails with attachments take hell lot of time to
Kshitij> get sent.
If you are on a dialup, that is only expected. Again, squid has no
part in this.
So:
a) start sending plain text emails. Also, RTFs are usually smaller
than DOCs.
b) Don't send downloaded images, movies etc. to mail
recipients. Instead, send them URLs.
c) Ask sendmail (or whatever your MTA is) nicely to use a smart host,
instead of trying to deliver emails itself. Your ISP's SMTP server is
a good choice (usually, the only choice).
d) Combine with (c); send one document to multiple recipients via
multiple To/Cc addresses instead of sending individual emails to
everyone.
Kshitij> 3. i wud like to know if there's ne option in squid by
Kshitij> which one can keep track of the usage of the proxy
Kshitij> server/internet by a particular user.
Squid probably logs everything except the user's DoB. You can find log
analyzers for squid on freshmeat; I have heard that webalizer is a
good option (never used it myself, though).
Binand
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help