LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-27-2005, 05:19 PM   #1
mcatman
LQ Newbie
 
Registered: Feb 2005
Distribution: SuSu 9.2 Pro
Posts: 2

Rep: Reputation: 0
Question Squid POP3 & SMTP issues


I'm new to Linux and have a issue with POP3 and SMTP


What I have done is connect a Windows Network (192.168.0.X) to a SuSE 9,2 Professional linux Box (with two network cards) with the Squid 2.5 proxy running. The SUSE box is then connected to a firewall and ADSL router.
This works well and the windows users can browse the web.

The issue I have is with POP3 and SMTP.

To connect to the web I setup the proxy settings for users of the windows network correctly for the proxy (eg Squid, port 3124). While this works for HTTP it will not work for POP3 and SMTP (I understand that Squid is a HTTP proxy only). I can get people to access POP3 and SMTP if I setup the windows PC to connect directly to the SUSE box (setup the gateway and DNS in windows). I used SUSE 9.2 YAST tool to setup the firewall to allow POP3 and SMTP. While this works I really don't want to use the gateway and DNS settings I would rather be able to use the proxy settings.

Note: We do have a Mailserver that current bypass the proxy and people get their mail from it but several people need to get access to there POp3 and SMTP sources from the outside.


Does anyone have a solution. (be it a all singing a nd dancing Linus proxy (POP3, SMTP, HTTP) or a neat Little trick)
 
Old 02-27-2005, 06:01 PM   #2
Does
LQ Newbie
 
Registered: Jan 2005
Location: USA
Distribution: Slackware-current 2.6.10, Mandrake 10.1
Posts: 24

Rep: Reputation: 15
Like you said yourself, Squid is a HTTP proxy.
POP3 and SMTP aren't HTTP protocols. So using squid is impossible.

What is it you want to achieve with the mail setup?

Peter
 
Old 02-27-2005, 10:03 PM   #3
mcatman
LQ Newbie
 
Registered: Feb 2005
Distribution: SuSu 9.2 Pro
Posts: 2

Original Poster
Rep: Reputation: 0
Basically allow the everybody on our Windows network to have access to our mail server, but allow some user also get mail from POP3 and SMTP accounts. I curently can do that now, using gateway and DNS settings. But have found that this method causes connection issues on the network and therfore want to work around the problem.
 
Old 02-27-2005, 11:30 PM   #4
angrybeaver
Member
 
Registered: Aug 2004
Location: .au
Distribution: debian, BSD
Posts: 104

Rep: Reputation: 17
you're better off setting up specific forwarding and NAT'ting rules for outbound ports 25 and 110 (with state matching for 'established' connections). Either that, or setup a socks proxy on your linux box...
 
Old 02-28-2005, 07:38 AM   #5
Does
LQ Newbie
 
Registered: Jan 2005
Location: USA
Distribution: Slackware-current 2.6.10, Mandrake 10.1
Posts: 24

Rep: Reputation: 15
Does the access to the POP3 and SMTP server need to be userbased or can it be server based?
Because if if ity can be server based you can use IPTables to block all trafic to ports 25 (smtp) and 110(POP3) expect for the boxes that the user need to get to.

Peter
 
Old 02-28-2005, 10:12 AM   #6
cidrolin
Member
 
Registered: Jul 2004
Distribution: Fedora c2
Posts: 89

Rep: Reputation: 15
if you want (need) a application-layer proxy capable of dealing with POP and SMTP, for instance, then DeleGate (http://www.delegate.org) might be your choice.
 
  


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
SMTP & POP3 server on fedora core 3? fatum112 Linux - Networking 0 11-23-2005 05:19 AM
Iptables & squid issues sedulous Linux - Networking 1 10-05-2003 02:28 AM
POP3 & SMTP Proxy arun79 Linux - Networking 2 06-17-2003 07:44 PM
Does squid supports SMTP and POP3? yenonn Linux - Newbie 5 03-15-2003 01:43 AM
pop3 & smtp through ssh sqn Slackware 9 01-07-2003 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:57 AM.

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