Mail::SpamAssassin::Spamd::Apache2.3pm

Langue: en

Version: 2008-01-05 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Mail::SpamAssassin::Spamd::Apache2 -- spamd protocol handler for Apache2

SYNOPSIS

   SetHandler modperl
   PerlProcessConnectionHandler Mail::SpamAssassin::Spamd::Apache2
 
 

DESCRIPTION

What is this obsession with documentation? Don't you have the source?
                           --- Michael G Schwern on makemaker@perl.org

This is a protocol handler, to be run as "PerlProcessConnectionHandler". It's different from regular HTTP handlers ("PerlResponseHandler") --- we don't have the $r object (unless we create it) and the only other run-time Apache hook which will run is "PerlPreConnectionHandler".

This means you can't use modules which hook themselves in, for example, "PerlAccessHandler". If there is a clean way to enable it, don't hesitate to drop me an e-mail.

INTERNALS

handler() runs read_headers(), then check_headers(). If the User header has been provided by the client and user configuration has been enabled, it runs read_user_config(). Then it reads body, passes it through SA and sends reply.

TODO

Timeout...

NetSet

BUGS

See <http://bugzilla.spamassassin.org/>.

SEE ALSO

httpd(8), spamd(1), apache-spamd(1), Mail::SpamAssassin::Spamd::Apache2::Config(3)