Looking forward to evaluating the Spamhaus DBL at work.
Reading through some of the code that does multi-pass RBL filtering via a milter, and sometime’s I’m reminded just how painful it is to do DNS programming with C/C++. Don’t get me wrong, I’m a C/C++ programmer first, Python/Perl programmer second, but damn that’s some lengthy code [...]
Categories: Email, Programming
Tagged: abuse, email, spammers
- Published:
- March 2, 2010 – 10:10 am
- Author:
- By Peter Blair
It’s super easy:
#/usr/bin/perl
use strict;
use Digest::MD5 qw( md5_hex );
my $email = shift || die("Please provide email address\n");
my $hash = md5_hex lc($email);
print "http://gravatar.com/avatar/${hash}.jpg\n";
I use them at work for showing tooltip displays upon email receipt etc. They’re fun and handy to add to any little application.
Categories: Perl
Tagged: email, perl, programming
- Published:
- December 21, 2009 – 10:55 am
- Author:
- By Peter Blair
Taste the goodness
http://github.com/petermblair/Flingo/
Categories: Flingo, Programming
Tagged: abuse, c++, email, Flingo, malware, pattern matching, perl, programming, spammers, unix
- Published:
- November 13, 2009 – 2:27 pm
- Author:
- By Peter Blair
While in Philly for a messaging security conference, I attended a session where the topic was DKIM, and some of the people there were complaining about where the DKIM verification process was located in their email pipeline. They claimed that because they were doing DKIM verification after accepting the mail, then any message that [...]
Categories: Email
Tagged: abuse, dkim, email, programming, spammers, work
- Published:
- November 5, 2009 – 1:47 am
- Author:
- By Peter Blair
… Just try to plug it as best you can.
First off, let me preface this blog post by mentioning that I currently work for OpenSRS as a security specialist, and a part of my job function is to handle spam on our email platform. Ok, that said, let’s start.
Everyone has a spam problem. [...]
Categories: Email
Tagged: abuse, email, spammers, work
- Published:
- October 22, 2009 – 1:05 am
- Author:
- By Peter Blair
I’ve just written two simple little scripts to check if your outbound relays are on any known blacklists.
The first script “spf_lookup.pl” is used to extract CIDR ranges from a domains SPF record. This output is used to drive the rbl lookups of our next script.
The second part is our “rbllookup_async.pl” script, which checks a series [...]
Categories: Email, Perl, Programming, UNIX
Tagged: abuse, email, perl, programming, unix, work
- Published:
- August 20, 2009 – 12:51 pm
- Author:
- By Peter Blair
Just read this link, that outlines how to use:
autocmd BufRead mutt-* source $HOME/.vim/modes/mail.vim
To define a vim config to use when reading/writing mail in vim. For whatever reason, my new install on my work desktop didn’t linewrap properly at 78 characters when writing mail, which is really aggravating.
Categories: Email, UNIX
Tagged: email, mutt, unix, work
- Published:
- July 13, 2009 – 7:43 am
- Author:
- By Peter Blair
For the past couple of years, I’ve been lowering adoption of DKIM at $WORK as I didn’t really see much use in it at $WORK. It seemed like a bunch of work to get it running, and plenty of time for all of the different teams to do their part to bring DKIM into [...]
Categories: Email
Tagged: abuse, Add new tag, dkim, email, work
- Published:
- June 19, 2009 – 2:38 am
- Author:
- By Peter Blair
I use mutt as my email client at work, and find it very annoying when my signature is added to the bottom of an email thread.
I’ve written the following hooks in my dot-mutrc file to remove the signature when the subject contains Re:/RE:/re:/rE: etc.
# Get rid of the signature when replying
reply-hook . “set signature=”"”
send-hook ‘! [...]
Categories: Email
Tagged: email, mutt, work
- Published:
- May 4, 2009 – 2:50 pm
- Author:
- By Peter Blair