Mail::SpamAssassin::Spamd::Apache2::AclRFC1413 - check spamd's client ident
##### in httpd.conf: # engine; module has been separated in Apache 2.1 LoadModule ident_module modules/mod_ident.so IdentityCheck on IdentityTimeout 4 # enable check PerlLoadModule Mail::SpamAssassin::Spamd::Apache2::Config SAident on ##### in PerlProcessConnectionHandler: Mail::SpamAssassin::Spamd::Apache2::AclRFC1413::check_ident($c, "user") or return Apache2::Const::FORBIDDEN; # or like this: my $remote_logname = Mail::SpamAssassin::Spamd::Apache2::AclRFC1413::get_ident($c)
Queries remote ident server using mod_ident.so, saves result in $c-notes()>.
$c-
Returns Apache2::Const::FORBIDDEN on failure.
Apache2::Const::FORBIDDEN
The SAident On directive actually does this: PerlPreConnectionHandler Mail::SpamAssassin::Spamd::Apache2::AclRFC1413
SAident On
Doing ident for non-localhost users is rather pointless. Unless you know what you're doing, listen only on 127.0.0.1 and/or ::1, if you want to prevent users from lying about their identity. Or use SSL with client certificates (refer to mod_ssl documentation for details).
127.0.0.1
::1
mod_ssl
Returns remote username (might be "0"), as returned by the ident server, if it matches supplied $username; undef otherwise.
Returns remote username (might be "0"), as returned by the ident server.
Nothing.
See <http://bugzilla.spamassassin.org/>
Mail::SpamAssassin::Spamd::Apache2::Config(3)
To install Mail::SpamAssassin, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mail::SpamAssassin
CPAN shell
perl -MCPAN -e shell install Mail::SpamAssassin
For more information on module installation, please visit the detailed CPAN module installation guide.