From a257ec8414b163b1119102419460d84fd1e328d6 Mon Sep 17 00:00:00 2001 From: Matt Simerson Date: Fri, 20 Jul 2012 11:59:54 -0400 Subject: [PATCH] added vpopmail_ext to qmail_deliverable plugin --- plugins/qmail_deliverable | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/qmail_deliverable b/plugins/qmail_deliverable index 7543a4b..e4e0263 100755 --- a/plugins/qmail_deliverable +++ b/plugins/qmail_deliverable @@ -195,12 +195,12 @@ sub rcpt_handler { $self->log(LOGINFO, "error, SHOULD NOT HAPPEN"), $k++ if $rv == 0xfe; $self->log(LOGINFO, "fail, address not local"), $k++ if $rv == 0xff; - $self->log(LOGINFO, sprintf("Unknown: 0x%02x", $rv)) if $rv and not $k; + if ( $rv ) { + $self->log(LOGINFO, sprintf("error, unknown: 0x%02x", $rv)) if not $k; + return DECLINED; + }; - return DECLINED if $rv; - - $self->adjust_karma( -1 ); - return (DENY, "fail, no mailbox by that name. qd (#5.1.1)" ); + return (DENY, "Sorry, no mailbox by that name. qd (#5.1.1)" ); } sub _smtproute {