summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch')
-rw-r--r--mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch b/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch
new file mode 100644
index 0000000..6d8b88c
--- /dev/null
+++ b/mail-mta/qpsmtpd/files/qpsmtpd-0.40-badhelo_disconnect.patch
@@ -0,0 +1,11 @@
+--- qpsmtpd-0.40/plugins/check_spamhelo.badhelo_disconnect 2007-06-14 11:57:24.000000000 -0600
++++ qpsmtpd-0.40/plugins/check_spamhelo 2007-06-14 13:21:45.000000000 -0600
+@@ -23,7 +23,7 @@
+ for my $bad ($self->qp->config('badhelo')) {
+ if ($host eq lc $bad) {
+ $self->log(LOGDEBUG, "Denying HELO from host claiming to be $bad");
+- return (DENY, "Sorry, I don't believe that you are $host.");
++ return (DENY_DISCONNECT, "Sorry, I don't believe that you are $host.");
+ }
+ }
+ return DECLINED;