LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-10-2013, 07:52 AM   #1
krishnagiridher
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Rep: Reputation: Disabled
Unhappy Squid is blocking POP3


Hello All,

I have installed SQUID PROXY on centos 5...

The users are not able to download emails...

I disabled IPTABLES. Please suggest me whats the next step...

Thanks in Advance
 
Old 10-10-2013, 09:56 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Squid has NOTHING to do with POP3 at all. Squid is an HTTP proxy and does NOT deal with email at all. Please describe the actual solution you are trying to make work.
 
Old 10-10-2013, 11:37 PM   #3
zafar_dandoti
Member
 
Registered: Dec 2005
Location: India
Distribution: centos
Posts: 178

Rep: Reputation: 13
configure squid in transperant mode .. here it is
http://www.cyberciti.biz/tips/linux-...uid-howto.html
 
Old 10-11-2013, 01:11 AM   #4
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Thats Correct Squid has nothing to do with mails.

where did you found that squid is blocking ?
 
Old 10-11-2013, 01:50 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by zafar_dandoti View Post
configure squid in transperant mode .. here it is
http://www.cyberciti.biz/tips/linux-...uid-howto.html
What? No, that's not at all what he's asked about.
 
Old 10-15-2013, 09:43 AM   #6
krishnagiridher
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello All,

Thanks for giving reply... I am a beginner in Linux...

The issue is I am able to download emails without connecting to Squid. When am connecting to am unable to download emails (able to send). If squid is not a problem Why am able to receive emails when am not connected to squid.

I have seen lot of answers related to IPTABLES. I donno what is that and how to configure. Soo I stopped it ...

Please let me know.. If I need to submit any log files let me know the path please...

Thanks,
Sai Krishna
 
Old 10-15-2013, 09:54 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
when not connected to squid? how are you connecting to it? If you are about to download without using squid... then... there's no problem! Squid isn't a pop3 proxy. it's not meant to work.
 
Old 10-15-2013, 10:32 AM   #8
krishnagiridher
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello Chris,

I am implementing Squid Proxy in test environment. If everything is fine I will move this into users side. Can you please help me in this.

How can I know Squid is not blocking/not blocking POP3. If squid is not blocking Why am unable to download emails...

Please let me know

Thanks,
Sai Krishna
 
Old 10-15-2013, 10:36 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by krishnagiridher View Post
Hello Chris,
I am implementing Squid Proxy in test environment. If everything is fine I will move this into users side. Can you please help me in this.
You don't say how they're downloading/sending...from what kind of client? Web? On what operating system are the clients using? More likely is the fact that once you sign into the proxy server, ALL outgoing traffic is running through Squid...and, since (AGAIN), squid doesn't handle POP3, it's stopping there. BEFORE you sign in, you probably have an open, outgoing route (which is unsafe), which lets things work.

Try using IPtables to redirect the POP3 traffic through an open port in your firewall.

Quote:
How can I know Squid is not blocking/not blocking POP3. If squid is not blocking Why am unable to download emails...
You know this because, AGAIN, SQUID IS FOR WEB TRAFFIC ONLY....NOT POP3 OR ANY OTHER PROTOCOLS PERIOD. That's been said before...can't say it much simpler than that.
 
Old 10-15-2013, 10:51 AM   #10
krishnagiridher
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello Chris,

The client is Microsoft Outlook.

Other than squid. We are using Firewall to connect to internet.

is there any other reason for not downloading emails to the client OUTLOOK.

Thanks for the information. Please let me know How to redirect by using IP tables.

Thanks
Sai Krishna
 
Old 10-15-2013, 11:06 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,666

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by krishnagiridher View Post
Hello Chris,
My name isn't Chris
Quote:
The client is Microsoft Outlook.
...which means you're running Windows clients, correct? You don't actually provide the information requested.
Quote:
Other than squid. We are using Firewall to connect to internet.

is there any other reason for not downloading emails to the client OUTLOOK.
Did you not read/understand what you were told? When your clients are signing into squid, ALL of their outgoing traffic is routed through squid at that time. AGAIN...since squid does NOT do anything with POP3, the connection fails. Before signing in, the traffic is going straight to your firewall, and out. Can't say it much simpler.
Quote:
Thanks for the information. Please let me know How to redirect by using IP tables.
Did you try to look this up? Putting "linux iptables pop3" into Google pulls up lots:
http://www.cyberciti.biz/tips/linux-...l-request.html
http://www.thegeekstuff.com/2011/06/...ules-examples/

...and, if you're using SMTP to SEND, you realize that's a different protocol, right?? So before you ask, here's a link to prevent you from having to actually look it up:
http://www.cyberciti.biz/tips/linux-...-protocol.html
 
Old 10-15-2013, 11:16 AM   #12
krishnagiridher
LQ Newbie
 
Registered: Oct 2013
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello TB0ne,

Thanks for the information.

taken some time to understand.., sorry for that.

I will try with the provided links and let you know if I run into any issues.

Thanks,
Sai Krishna
 
  


Reply



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
[SOLVED] Squid+DansGuardian not working properly. squid blocking sites that should be linuxlover.chaitanya Linux - Server 13 11-10-2014 10:34 AM
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
blocking pop3 account devan1p Linux - Networking 7 05-31-2006 11:26 PM
Squid and pop3 yjvalas Linux - Networking 1 11-06-2005 04:32 PM
Firewall blocking some POP3 requests Funky D Linux - Networking 5 09-23-2005 04:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:29 PM.

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