From 7fb5b3df2878dcf878753cf22447f6cf494bfaea Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Tue, 26 Dec 2023 16:36:12 +0100 Subject: [PATCH] FIX: fixed name of registered handler --- plugins/rcpt_mysql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/rcpt_mysql b/plugins/rcpt_mysql index 90d61a6..77f168e 100644 --- a/plugins/rcpt_mysql +++ b/plugins/rcpt_mysql @@ -11,7 +11,7 @@ sub init { # some default values $self->{database} = "mail"; $self->{host} = "localhost"; - $self->{port} = "3301"; + $self->{port} = "3306"; $self->{user} = undef; $self->{pass} = undef; $self->{rawquery}= undef; @@ -227,6 +227,6 @@ sub register { my ($self, $qp, %args) = @_; - $self->register_hook("rcpt", "rcpt_handler"); + $self->register_hook("rcpt", "rcpt_to"); }