From 6795bcf730e164f47cc155ae30b48d8b786873ff Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Mon, 2 Jun 2008 17:57:52 +0000 Subject: [PATCH] Handle %u in query filter --- postfix/postfix-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postfix/postfix-lib.pl b/postfix/postfix-lib.pl index 48943d169..524d8edcd 100644 --- a/postfix/postfix-lib.pl +++ b/postfix/postfix-lib.pl @@ -1174,7 +1174,7 @@ local ($conf) = @_; local ($filter, $name_attr) = @_; if ($conf->{'query_filter'}) { $filter = $conf->{'query_filter'}; - $conf->{'query_filter'} =~ /([a-z0-9]+)=\%s/i || + $conf->{'query_filter'} =~ /([a-z0-9]+)=\%[su]/i || &error("Could not get attribute from ". $conf->{'query_filter'}); $name_attr = $1;