Fwd: Bouncing emails from certain countries

2007-08-21 Thread Daniel Aquino
-- Forwarded message --
From: Daniel Aquino [EMAIL PROTECTED]
Date: Aug 21, 2007 9:51 PM
Subject: Re: Bouncing emails from certain countries
To: John D. Hardin [EMAIL PROTECTED]


I used IP::Country::Fast to block everything except canada and usa...

I've only had to add one company to an allow list because they are in Italy...

I don't think its that bad of a solution,
   depending on where your companies customers are located..


Re: Bouncing emails from certain countries

2007-08-21 Thread Daniel Aquino
I used IP::Country::Fast to block everything except canada and usa...

I've only had to add one company to an allow list because they are in Italy...

I don't think its that bad of a solution,
  depending on where your companies customers are located..


On 8/21/07, Skip Brott [EMAIL PROTECTED] wrote:
 Out of curiosity (as this is a feature that I would like to have as well for
 a couple of speficic countries), is there a reason that a couple of SA
 plugins cant be used:

 http://wiki.apache.org/spamassassin/URICountryPlugin
 Or
 http://wiki.apache.org/spamassassin/RelayCountryPlugin

 I am not certain which of these would be the correct one to implement.

 - Skip




UnixNFSSafe.pm uninitialized value at subtraction ?

2007-08-20 Thread Daniel Aquino
I'm not sure why this happened by I had to reboot both Sendmail and
MIMEDefang to stop this from happening.. It appeared to show up in my
logs in great numbers...


Aug 20 08:54:46 mail mimedefang-multiplexor[6293]: Slave 2 stderr: Use
of uninitialized value in numeric gt () at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
line 95. Use of uninitialized value in subtraction (-) at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
line 104.

Aug 20 08:54:47 mail mimedefang-multiplexor[6293]: Slave 2 stderr: Use
of uninitialized value in numeric gt () at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
line 95. Use of uninitialized value in subtraction (-) at
/usr/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin/Locker/UnixNFSSafe.pm
line 104.
=


Get Magic Statistics From Mail::SpamAssassin

2007-08-14 Thread Daniel Aquino
I'm writing a perl script to train sa.

And I'm wondering how I can get the statics that sa-learn --dump magic
would give me ?

Thanks!


[no subject]

2007-08-14 Thread Daniel Aquino
I'm currently using:

my $spam_assassin = Mail::SpamAssassin-new({
  site_rules_filename = '/etc/mail/spamassassin/',
  dont_copy_prefs = 1
});


Would this be the correct way to initialize SA ?

I have been testing back and forth between my script and sa-learn and it
appears that they are not using the same database...


RelayCountry

2007-05-23 Thread Daniel Aquino

Does anyone know actually know where the:
Mail::SpamAssassin::Plugin::RelayCountry
module is actually ran ?

I dont see anything in /usr/share/spamassassin/* that is doing it...


AWL File Locking - Permission Denied

2007-05-17 Thread Daniel Aquino

I seem to see this message allot...

warn: auto-whitelist: open of auto-whitelist file failed: locker:
safe_lock: cannot create lockfile
/var/spool/MD-Databases/auto-whitelist.mutex: Permission denied

If I delete my databases all together it creates it fine...
But once its created then it keeps giving the above error...

Only relevant option that may affect this in my local.cf is:

lock_method flock

Any idea about this warning or how I can get rid of it ?


Re: Can you use spamassassian as an access control list?

2007-05-17 Thread Daniel Aquino

I would think that should be done by the MTA but if you have none
local users and would like to check a ldap database or something
external you could use a filter something like Milter in Sendmail...


Black Lists

2007-05-16 Thread Daniel Aquino

Do I need special configurations to query dns black lists ?


Bayes Auto Learn

2007-05-16 Thread Daniel Aquino

Is spam assassin smart enough to not auto-learn (bayesian) spam if the
default tests allready detect it as spam... ?  What I'm wondering is
if the other tests have allready deamed it to be spam, then why would
you want to increase the size of your bayesian db...  Bayesian I
believe would be better applied to messages that appear to be slipping
past the other tests...


Test?

2007-05-11 Thread Daniel Aquino

Is this how I send to the list ?


Bayes DB

2007-05-11 Thread Daniel Aquino

I setup Bayes and whitelist db paths in my local.cf
The whitelist db created succesfully but the bayes_* db's did not...


Re: Bayes DB

2007-05-11 Thread Daniel Aquino

I didn't even realize my reply's were not being sent to the thread I started...
Sorry!


Re: Bayes DB

2007-05-11 Thread Daniel Aquino

Ok it looks like using sa-learn created the databases fine even with
only 1 ham/spam...


SA Rules Auto-Update ?

2007-05-11 Thread Daniel Aquino

I think I remember reading that SA Rules can be updated from Official Repos ?