LinuxQuestions.org
Visit Jeremy's Blog.
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-23-2004, 05:36 PM   #1
avantman42
Member
 
Registered: Jul 2003
Location: Stoke on Trent, UK
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 15
POP3 proxy


At work we have a Debian server, which has got ClamAV installed. I would like to use this box as a proxy for all incoming e-mail, so that ClamAV can scan the incoming e-mails for viruses. However, I don't want to set it up as a full-blown mail server, I just want incoming mails to go through the server first.

I'd like to set up a POP3 proxy running on the server, which will allow ClamAV to scan all e-mails for viruses before passing them onto the Windows clients. I found P3Scan, which is a development of pop3vscan, and it is almost what I want. The downside is that both these work as transparent proxies, and have to run on the router, but we have an ADSL router.

So, my question is this. Can anyone tell me where I can get an open-source POP3 proxy that will allow me to use ClamAV to scan e-mails for viruses? Or, failing that, is it possible to set up a POP3 server that will collect e-mails from our ISP's POP3 server, then serve them to the Windows clients?

Russ
 
Old 06-23-2004, 05:43 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
What I would do here is use fetchmail to download the mail from the server, get ClamAV to scan the /var/mail/* files and run a pop3 server which the other windows machines connect to. Provided fetchmail scans regularily then it shouldn't prove problematic - I can't say I've ever heard of a pop3 proxy.
 
Old 06-24-2004, 10:28 AM   #3
avantman42
Member
 
Registered: Jul 2003
Location: Stoke on Trent, UK
Distribution: Ubuntu
Posts: 30

Original Poster
Rep: Reputation: 15
Thanks, I'll look into that.

Russ
 
Old 06-24-2004, 10:47 AM   #4
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i use fetcmail too. i have a redhat 8.0 with qmail + kaspersky antivirus.
here is what i do:

#cat /root/getmail
poll mail.myisp.com with proto pop3
user "maxut" there with password "pass" is "maxut@local" here

cron job that checks emails to get from isp's server for every 5 minutes.
*/5 * * * * fetchmail -f /root/getmail

if your linux is also internet gateway for local clients, u can add a redirect command. so u wont have to change email client configuration to use your linux as pop3 server. they still think that they connect to isp's pop3 server :-)
iptables -t nat -A PREROUTING -s localnet/subnet -p tcp --dport 110 -d mail.yourisp.com -j REDIRECT --to-port 110
 
  


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
Need help with pop3.proxy harnadem Linux - Networking 2 05-27-2005 03:05 PM
POP3 and proxy theo_ianus Linux - Security 2 04-13-2004 02:42 AM
POP3 Mail with proxy rmdnet Linux - Networking 0 08-05-2003 08:54 AM
pop3 proxy server venugopalmk Linux - Networking 1 05-16-2003 07:09 AM
SMTP and POP3 Proxy step Linux - Newbie 4 03-14-2003 07:19 AM

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

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