From ea06aa8c41d103ff161630fd85d083b9ed6f0b41 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 28 May 2012 14:27:08 +0200 Subject: More flexible use of wildcards on usernames. --- fripost-searchuser | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'fripost-searchuser') diff --git a/fripost-searchuser b/fripost-searchuser index 83fc004..c7b2b9b 100755 --- a/fripost-searchuser +++ b/fripost-searchuser @@ -15,12 +15,16 @@ B [B<--debug>] [I] =head1 DESCRIPTION -B list virtual mailboxes whose username exactly matches +B lists virtual mailboxes whose username exactly matches I. -Wildcards I<*> can appear in the login part of I, to match zero or -more characters. +Wildcards I<*> can appear in I, to match zero or more characters. If no I is given, B list all existing mailboxes. -If I has no domain part, lists matching users for any domains. +If I has no domain part, lists matching users for any domains. +Otherwise, B first searches for matching domains, +and then for each of them, looks up the matching users. + +Because of these multiple searches, the use of wildcards on the domain +part of I may be inefficient. =head1 OPTIONS -- cgit v1.2.3