Remove the auth/authnull sample plugin (there are plenty proper examples now

so we don't have to include this insecure plugin)


git-svn-id: https://svn.perl.org/qpsmtpd/trunk@793 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
Ask Bjørn Hansen 2007-09-22 20:23:21 +00:00
parent 240cdef285
commit c0fedf9845
2 changed files with 3 additions and 17 deletions

View File

@ -1,5 +1,8 @@
0.41 0.41
Remove the auth/authnull sample plugin (there are plenty proper examples now
so we don't have to include this insecure plugin)
POD syntax cleanup (Steve Kemp) POD syntax cleanup (Steve Kemp)
Make connection->local_ip available from the Apache transport (Peter Eisch) Make connection->local_ip available from the Apache transport (Peter Eisch)

View File

@ -1,17 +0,0 @@
#!/usr/bin/perl
#
# This plugin doesn't actually check anything and will authenticate any
# user no matter what they type. It is strictly a proof of concept for
# the Qpsmtpd::Auth module. Don't run this in production!!!
#
sub hook_auth {
my ( $self, $transaction, $method, $user, $passClear, $passHash, $ticket ) =
@_;
# $DB::single = 1;
$self->log( LOGERROR, "authenticating $user using $method" );
return ( OK, "$user is free to abuse my relay" );
}