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"); }