Hi,

a small patch to enable AUTH PLAIN and LOGIN in the auth_flat_file
plugin.

I'm using it for a small experiment and certain version of LookOut
dont seem to support CRAM-MD5.

Best regards,
---
 qpsmtpd/plugins/auth/auth_flat_file |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/qpsmtpd/plugins/auth/auth_flat_file 
b/qpsmtpd/plugins/auth/auth_flat_file
index 6a82342..c4f130d 100644
--- a/qpsmtpd/plugins/auth/auth_flat_file
+++ b/qpsmtpd/plugins/auth/auth_flat_file
@@ -36,6 +36,8 @@ sub register {
     my ( $self, $qp ) = @_;
 
     $self->register_hook("auth-cram-md5", "authsql");
+    $self->register_hook("auth-plain",    "authsql");
+    $self->register_hook("auth-login",    "authsql");
 }
 
 sub authsql {
-- 
1.6.0.2.GIT

Reply via email to