LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-15-2010, 04:37 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
p3scan does not seem to be working.


Hello all,

I have a server running CentOS5.5 Final and squid. I need some kind of mail proxy for pop3 so that I can use squid in non transparent mode and still allow clients to use mail clients.
I found p3scan and installed it successfully. Downloaded the tar file and installed from source. The version is 2.3.2 stable and got it from sourceforge and softpedia both. (Yes, I have two copies)
After installation, I used iptables rules, as stated in the documentation, to use it as transparent pop proxy.
But the redirection does not seem to work and mail clients are not able to connect to the pop server.
The squid server is behind an ADSL modem router.

iptables rules for redirection

Code:
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport pop3 -j REDIRECT --to-ports 8110
The same rules are for smtp and pop3s though I do not need the later.

lsof -i shows that p3scan is listening on the specified port.

Any help would be appreciated.
 
Old 06-16-2010, 07:36 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
What I have noticed is that the above rules does not work for transparent squid as well. So I think the entire port forwarding is not working.

Code:
iptables -t nat -A PREROUTING -p tcp -i eth0 --dport 80 -j REDIRECT --to-ports 3128
is not working either.

But ip forwarding is activated in sysctl.conf file and it shows as well.

Code:
cat /proc/sys/net/ipv4/ip_forward
gives
Code:
1
But neither squid nor p3scan is working transparently.

Any guesses why?
 
  


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
A question about p3scan debug!!!! alitabas Linux - Software 0 10-28-2009 11:16 AM
Ignoring client TOP request. p3scan alitabas Linux - Software 0 10-01-2009 12:56 PM
p3scan, spamassassin and clamav alitabas Linux - Software 0 08-21-2009 09:46 AM
Fortemedia FM801 card not working under FC5 on Intel 845 but working with windows morningkiran Linux - Hardware 0 11-30-2006 07:57 AM
Firestarter and p3scan robbow52 Debian 0 12-29-2005 09:25 AM

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

All times are GMT -5. The time now is 10:46 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