|
--- qpsmtpd-0.83/lib/Qpsmtpd/TcpServer.pm.peer_hooks 2009-09-22 04:49:27.000000000 -0600 |
|
|
+++ qpsmtpd-0.83/lib/Qpsmtpd/TcpServer.pm 2009-10-29 10:55:19.000000000 -0600 |
|
|
@@ -72,7 +72,7 @@ sub run { |
|
|
# Set local client_socket to passed client object for testing socket state on writes |
|
|
$self->{__client_socket} = $client; |
|
|
|
|
|
- $self->load_plugins; |
|
|
+ $self->load_plugins unless $self->hooks; |
|
|
|
|
|
my $rc = $self->start_conversation; |
|
|
return if $rc != DONE; |
|
1 |
--- qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm.peer_hooks 2007-06-14 11:57:27.000000000 -0600 |
--- qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm.peer_hooks 2007-06-14 11:57:27.000000000 -0600 |
2 |
+++ qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm 2007-06-14 13:44:52.000000000 -0600 |
+++ qpsmtpd-0.40/lib/Qpsmtpd/SMTP.pm 2007-06-14 13:44:52.000000000 -0600 |
3 |
@@ -95,6 +95,11 @@ |
@@ -95,6 +95,11 @@ |
12 |
$self->run_hooks("connect"); |
$self->run_hooks("connect"); |
13 |
return DONE; |
return DONE; |
14 |
} |
} |
15 |
@@ -277,7 +282,9 @@ |
@@ -279,7 +284,9 @@ |
16 |
|
|
17 |
# if we don't have a plugin implementing this auth mechanism, 504 |
# if we don't have a plugin implementing this auth mechanism, 504 |
18 |
if( exists $auth_mechanisms{uc($mechanism)} ) { |
if( exists $auth_mechanisms{uc($mechanism)} ) { |