[AMaViS-user] RBL Monitoring.

2007-06-26 Thread Azfar Hashmi
Is there any way to monitor my ips in RBLs. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.

Re: [AMaViS-user] Faster purging of SQL logging database

2007-06-26 Thread Hanne Moa
On 6/15/07, Mark Martinec [EMAIL PROTECTED] wrote: The README.sql-pg in amavisd-new distribution suggests the following SQL clauses to purge old records from a database: DELETE FROM msgs WHERE time_iso now() - INTERVAL '3 weeks'; The script that does this on my amavis-setup had a convenient

[AMaViS-user] False positive BANNED on message using charset GB2312

2007-06-26 Thread Daniel J McDonald
I think this message is just spam, and not something nefarious, but amavisd flagged it as BANNED due to an exe. Can anyone tell if this really was malware? X-Envelope-To: [EMAIL PROTECTED] X-Quarantine-ID: lGMnl3xEtzBg X-Amavis-Alert: BANNED, message contains part: text/plain,.exe X-Spam-Flag:

[AMaViS-user] memory leak problem in version amavisd-new-2.4.3 (20060930)

2007-06-26 Thread Prashant Dabre
Hi, I am currently using amavisd-new-2.3.1. While upgrading to version 2.4.3 , I started getting memory problem. I have not changed my old amavisd conf file which I am using with amavisd-new-2.3.1 . I have also tried to increase the log level of amavis to 5 but not found any error in maillog.

Re: [AMaViS-user] RBL Monitoring.

2007-06-26 Thread Xueron Nee
Hi Azfar Hashmi, Here is a simple perl script to do this :) #!/usr/bin/perl -w use strict; use Net::RBLClient; die Usage: $0 file or ip.add.re.ss ...\n unless scalar(@ARGV); my @target = (); foreach my $ip_list (@ARGV) { if ($ip_list =~ /$Net::RBLClient::ip_pat/o and not -f $ip_list) {

Re: [AMaViS-user] False positive BANNED on message using charset GB2312

2007-06-26 Thread Noel Jones
At 11:19 AM 6/26/2007, Daniel J McDonald wrote: I think this message is just spam, and not something nefarious, but amavisd flagged it as BANNED due to an exe. Can anyone tell if this really was malware? X-Envelope-To: [EMAIL PROTECTED] X-Quarantine-ID: lGMnl3xEtzBg X-Amavis-Alert: BANNED,

Re: [AMaViS-user] memory leak problem in version amavisd-new-2.4.3 (20060930)

2007-06-26 Thread Mark Martinec
Prashant Dabre, I am currently using amavisd-new-2.3.1. While upgrading to version 2.4.3 Why would one want to 'upgrade' to a nine months old version? I have not changed my old amavisd conf file which I am using with amavisd-new-2.3.1 . Ok. I started getting memory problem. I have also

Re: [AMaViS-user] False positive BANNED on message using charset GB2312

2007-06-26 Thread Mark Martinec
Daniel, I think this message is just spam, and not something nefarious, but amavisd flagged it as BANNED due to an exe. Can anyone tell if this really was malware? The file command does evaluate the text as executable: [EMAIL PROTECTED] ~]$ file foo2.txt foo2.txt: COM executable for DOS

Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-26 Thread Joshua J. Kugler
On Monday 25 June 2007 19:31, Mike Cappella wrote: But I don't see any headers added to the messages. I used http://wiki.apache.org/spamassassin/IntegratedInPostfixWithAma vis to help me with my setup. Can someone point me to something I might be missing? Have you verified that

Re: [AMaViS-user] RBL Monitoring.

2007-06-26 Thread mouss
Xueron Nee wrote: Hi Azfar Hashmi, Here is a simple perl script to do this :) #!/usr/bin/perl -w [snip] a less sofisticated shell version: #!/bin/sh ip_list=`grep -v ^# /path/to/ips` rbl_zones=`grep -v ^# /path/to/rbls` check_ip() { ip=$1 zone=$2 rev_ip=`echo $ip | awk

Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-26 Thread Gary V
Gary wrote: The next question would be - are you sending mail to amavisd-new at all? What MTA are you using? Also, don't test by sending mail from the local machine using sendmail or similar. Send from an external client via SMTP. Gary V

Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-26 Thread Joshua J. Kugler
On Tuesday 26 June 2007 14:29, Gary V wrote: Joshua wrote: Have you verified that spamassassin is actually being called for the mail in question? That's what I'm trying to do. In reply to another e-mail, I have these lines in my config file: $X_HEADER_TAG = 'X-Virus-Scanned';

Re: [AMaViS-user] Faster purging of SQL logging database

2007-06-26 Thread Mark Martinec
HM, The problem is the foreign key constraints on msgrcpt. I found a solution: ... Voila, takes less than 30 minutes, including typing/pasting, on 3.4 million rows in msgs/4.2 million rows in msgrcpt which should be a small enough delay for most uses. Thanks, useful for purging majority of

Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-26 Thread Gary V
Joshua wrote: Virus is un-commented, bypass_spam is commented (all occurrences I could find). Here are the headers added to the mail once it hits the server (mail.example.com, to protect the innocent :) ). Received: from localhost (localhost [127.0.0.1]) by mail.example.com

Re: [AMaViS-user] Amavis/SA configured but not processing mail

2007-06-26 Thread Gary V
Gary wrote: With $sa_tag_level_deflt = -999; and @local_domains_maps = ( [ .example.com ] ); and spam checks are not bypassed, it should work. Is there another server downstream removing X-Spam headers? Are you using SQL or LDAP and the recipient's spam_tag_level is observed instead of the