frank
unread,Jul 20, 2015, 1:30:02 AM7/20/15You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to qps...@perl.org
The badrcptto plugin says it lets you give a custom response for a
matching regex but the code doesn't appear to use it. Shouldn't it be
something like this?
Thanks
-frank
diff --git a/plugins/badrcptto b/plugins/badrcptto
index 0dec099..eb3d31c 100644
--- a/plugins/badrcptto
+++ b/plugins/badrcptto
@@ -66,7 +66,7 @@ sub hook_rcpt {
if ($self->is_match($to, lc($bad), $host)) {
$self->adjust_karma(-2);
if ($reason) {
- return DENY, "mail to $bad not accepted here";
+ return DENY, $reason;
}
else {
return Qpsmtpd::DSN->no_such_user(