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:
parent
240cdef285
commit
c0fedf9845
3
Changes
3
Changes
@ -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)
|
||||||
|
@ -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" );
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user