Block spam with OriginatingCountry SpamAssassin plugin

Save 2 files below in /etc/mail/spamassassin directory and enable plugin by add line PLAIN TEXT CODE: loadplugin Mail::SpamAssassin::Plugin::OriginatingCountry OriginatingCountry.pm in file /etc/mail/spamassassin/init.pre Check and adjust score with your system File OriginatingCountry.pm PLAIN TEXT CODE: package Mail::SpamAssassin::Plugin::OriginatingCountry;   use Mail::SpamAssassin::Plugin; use Mail::SpamAssassin::Constants qw(:ip); use strict; use warnings; use bytes;   use vars qw(@ISA); @ISA = qw(Mail::SpamAssassin::Plugin); [...]

Tagged with:
 

Online tool to help programmer deal with messy php code

Today, I try to search program to make my php source code for better read and easy to understand and I found good one that I would like to suggest for all php programmer. Online source code beautifier This tool source code beautifier (source code formatter) also work with Java, C++, C, Perl, JavaScript, CSS [...]

 

Fix get_insert_id function of Net::MySQL

After I try to find Pure Perl of MySQL network protocol interface, I've found Net::MySQL on CPAN but there have some problem if you use get_insert_id and AUTO_INCREMENT value of table more than 255 the function will always return 254. Current version of Net::MySQL 0.09 released on 01 Apr 2006

 

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

    © 2010 Internet Security and Programming