Let Spamassassin learn about not recognised spam

Below there is a chart of email processing on my server.

Exim stacked stats (graph)

Exim stacked stats for 19-11-2011@15:55

I process statistics every 5 minutes, So above image will tell you that i get about 4 real emails every 5 minutes. I have about 203 emails every 5 minutes that do not comply with email rules (invalid sender, SPF checks fail, etc) About 24 emails get rejected based on recipient rules (specific rules for one of my mailboxes).

And only 1 email every 5 minutes that would be accepted was recognised as spam. Considering the fact that i get multiple messages per day in my mailbox that should be considered as spam i decided that it is time to train spamassassin again.

Training SpamAssassin is quite easy aslong as you follow some rules and are willing to automate this task. As my server works with DirectAdmin I followed the Knowledge Base article on How to create a cronjob to use sa-learn to teach spamassassin – Maildir

Memorising the OSI-layers

Some people have problem with remembering the OSI-layers, for those who can not memorise them i have this small trick i learned once back in college.

Just keep in mind that all people seem to need data processing.
Where each word corresponds with one of the layers of the OSI model below.

OSI Layers

OSI Layers

So all corresponds with Application, people with Presentation etc.

I hope it will help you as it did for me!

Extending the library, books for #CCDA and #CCNP Voice (#Cisco)

While i was looking for some books for my Personal Education Program i found that CiscoPress and Pearson IT Certifications had each a useful eBook Deal of the Day.

With CiscoPress i bought the book Implementing Cisco Unified Communications Manager, Part 1 (CIPT1) Foundation Learning Guideicon for only $ 9.99. And at the Pearson IT Certification website i bought Designing for Cisco Internetwork Solutions (DESGN) Foundation Learning Guideicon.

The first book is for my CCDA track, the second for the CCNP Voice track that i pursue.

Dennis Ritchie Passes Away At Age 70 (Father Of C And UNIX)

Dennis Ritchie?! Who is Dennis Ritchie? Will be the first tought of many.

Dennis Ritchie is the inventor of the computer programming language C. In my eyes he has done even more work for the world than Steve Jobs did. (Sure he had a good eye for how things should look.)

Next to his job for creating the programming language C he was also known as one of the key-developers for UNIX. From those two positions he has had quite some influence on how todays Operating Systems look like and function.

Wired News: Dennis Ritchie: The Shoulders Steve Jobs Stood On
Los Angeles Times: Dennis Ritchie dies at 70; computer scientist helped develop Unix
New York Times: Dennis Ritchie, Trailblazer in Digital Era, Dies at 70

Solving OAuth problems on my blog

Since yesterday it seemed that there occured some errors. Most likely when you tried to login or post a comment. This was due to the OAuth library included with several plugins and all tried to declare the same classes and functions. For now this is solved by adding a class_exist check in the library.

I will lookup the OAuth project and check how we can incorporate these suggestions in to the library.

Old:

class OAuthConsumer {
	public $key;
	public $secret;

	function __construct($key, $secret) {
		$this->key = $key;
		$this->secret = $secret;
	}

	function __toString() {
		return "OAuthConsumer[key=$this->key,secret=$this->secret]";
	}
}

New:

if (!class_exists("OAuthConsumer", false)) {
	class OAuthConsumer {
		public $key;
		public $secret;

		function __construct($key, $secret) {
			$this->key = $key;
			$this->secret = $secret;
		}

		function __toString() {
			return "OAuthConsumer[key=$this->key,secret=$this->secret]";
		}
	}
}

Note lines 1 and 15.

Lack of competition a bigger threat than piracy, says Miramax CEO

Giving a Media Mastermind keynote session, Lang reiterated Miramax’s strategy of enabling customers to access content anytime and anywhere across multiple platforms, from physical discs, to streaming services, to ultimately buying content in a digital cloud. Lang claimed that ultimately Miramax will load over 300 of its library of 700 titles—including Pulp Fiction, Chicago and Shakespeare In Love—each month for OTT service users.

“We believe that cross-platform is key to growing the digital transactions business,” Lang told his audience in Cannes. “We believe that all [the] different platforms can be complementary and co-exist together.”

via MIPCOM 2011: Lack of competition a bigger threat than piracy, says Miramax CEO | MIPCOM 2011 | Rapid TV News.