NAME

Mail::SpamAssassin::Plugin::Karmasphere - Query the Karmasphere reputation system

SYNOPSIS

loadplugin Mail::SpamAssassin::Plugin::Karmasphere

karma KARMA_CONNECT_0_10	connect 0 10
score KARMA_CONNECT_0_10	0.1

DESCRIPTION

The Karmasphere reputation service is a real-time reputation service for identities. The aim of this plugin is to detect identities used by spammers and phishers, and thus detect zero-day spam runs and phishing scams.

This plugin performs lookups against the Karmasphere reputation service. Two lookups are performed: One on the connect-time identities (client-ip, helo-address and envelope-from) and one on any identities found in the body of the message. Of these, the first is relatively trustworthy, since it works (where possible) with authenticated identities. The second works with unathenticated identities, but should still trap URLs used by spammers and phishing sites.

USER SETTINGS

karma context min max

A karma score range. context is either connect or content

karma_connect_feedset

The feedset name to query using connect-time information. The default is karmasphere.emailchecker.

karma_content_feedset

The feedset name to query using content information. The default is karmasphere.contentfilter.

karma rulename context min max

ADMINISTRATOR SETTINGS

karma_host

Hostname or IP address of the Karmasphere slave server. The default is slave.karmasphere.com.

karma_port

Port number of the Karmasphere slave server. The default is 8666.

karma_timeout

The timeout for receiving karma responses, in seconds. The default is 60.

INTERNALS

The plugin hooks two points in the SpamAssassin scanner cycle. It sends Karmasphere queries during the parsed_metadata callback, and it receives responses during the check_post_dnsbl callback.

Developers needing more information should dig into the source code.

BUGS

See TODO.

TODO

Implement authentication.

SEE ALSO

Mail::Karmasphere::Client http://www.karmasphere.com/ Mail::SpamAssassin

COPYRIGHT

Copyright (c) 2005-2006 Shevek, Karmasphere. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.