Hi all, I need to open ports for Clamav database update, but since yesterday it seems that IP address are changing every hour.. Can you guys please let me know what should I do to resolve this issue. Sending you ping output. [EMAIL PROTECTED] root]# ping db.us.clamav.net PING db.us.rr.clamav.net (199.184.215.2) 56(84) bytes of data.
--- db.us.rr.clamav.net ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 2014ms [EMAIL PROTECTED] root]# ping db.us.clamav.net PING db.us.rr.clamav.net (208.67.80.27) 56(84) bytes of data. --- db.us.rr.clamav.net ping statistics --- 5 packets transmitted, 0 received, 100% packet loss, time 4018ms [EMAIL PROTECTED] root]# ping db.us.clamav.net PING db.us.rr.clamav.net (64.142.100.50) 56(84) bytes of data. --- db.us.rr.clamav.net ping statistics --- 7 packets transmitted, 0 received, 100% packet loss, time 6016ms You have new mail in /var/spool/mail/root Thanks, Parveen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David F. Skoll Sent: Thursday, August 07, 2008 2:28 PM To: ClamAV users ML Subject: Re: [Clamav-users] simplest replacement for ancient amavis-perl jef moskot wrote: > I didn't mean to spark a milter fight, but as the Subject line says, we're > looking for the simplest thing out there. I'm replacing a simplistic perl > script that just broke a message down, clamscanned it, and either passed > it on for delivery or quarantined and notified. That's it. Here is a complete MIMEDefang filter to do just that: #============================= $Features{'Virus:CLAMD'} = '/full/path/to/clamd'; $ClamdSock = '/full/path/to/clamd.sock'; $Features{'Virus:CLAMAV'} = '/full/path/to/clamscan' $AdminAddress = '[EMAIL PROTECTED]'; sub filter_end { my ($code, $category, $action) = message_contains_virus(); if ($action eq 'quarantine') { send_quarantine_notifications(); action_discard(); } } #============================= It'll quarantine the virus and sent a notification to $AdminAddress. Regards, David. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml ************************************************************************************************************** This email may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this email has been delivered to you, you are requested to delete it immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment(s) other than by its intended recipient(s) is strictly prohibited. All rights reserved ikaSystems CorporationR. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml