On Fri, 2004-09-10 at 14:33, Stelian wrote:
> We curently have about 6 POP3 acounts stored on our ISP server. The
> viral trafic (incoming, of course) on them is very high, up to the
> point where we cannot longer use them.
> My task is to provide some kind of filtering server, to keep the viri
> out using a free antivirus like Clamav. Idealy, the server would work
> like this: continuously fetch the mail from the external servers,
> delete the infected messages, and keep a IMAP accesible local copy of
> the good messages. 
Well heres how I did it...
Linux box running fetchmail as a daemon to get the mail from the pop
accounts, fetchmail forwards on to sendmail running on the box itself. 
MailScanner (www.mailscanner.info) to scan the email (with clamav and
bitdefender, both of which are free in at least one sense of the word). 
sendmail then delivers the mail to local accounts and courier-imap lets
the users collect them using IMAP.
If you don't want to create accounts for each user then you might like
to think about something like cyrus IMAP which (I think) doesn't require
accounts on the server (but IIRC is rather more tricky to set up) - it
was a no-brainer for me as my users (family, this is my home setup - I
use MailScanner as a relay to exchange at work) already had shell
accounts.
There are other choices too, such as AMavis and clamav-milter, however
what is commonly seen as the chief advantage of them (as milters) -
being able to refuse to accept a mail, rather than reject it later - is
a non issue in this instance because both your ISP and fetchmail have
already accepted it.  

Kevin




BMRB International 
http://www.bmrb.co.uk
+44 (0)20 8566 5000
_________________________________________________________________
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance on it is prohibited.  BMRB International Limited 
accepts no liability in relation to any personal emails, or 
content of any email which does not directly relate to our 
business.




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to