diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-05-28 14:27:08 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-05-28 14:29:53 +0200 |
commit | ea06aa8c41d103ff161630fd85d083b9ed6f0b41 (patch) | |
tree | 34c017a57cacbf55da29e8b69889a5d8929ee532 /fripost-searchuser | |
parent | 1da2826f3246bd9ecc4a819ac3bc1ef8173893e2 (diff) |
More flexible use of wildcards on usernames.
Diffstat (limited to 'fripost-searchuser')
-rwxr-xr-x | fripost-searchuser | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/fripost-searchuser b/fripost-searchuser index 83fc004..c7b2b9b 100755 --- a/fripost-searchuser +++ b/fripost-searchuser @@ -15,12 +15,16 @@ B<fripost-searchuser> [B<--debug>] [I<username>] =head1 DESCRIPTION -B<fripost-searchuser> list virtual mailboxes whose username exactly matches +B<fripost-searchuser> lists virtual mailboxes whose username exactly matches I<username>. -Wildcards I<*> can appear in the login part of I<username>, to match zero or -more characters. +Wildcards I<*> can appear in I<username>, to match zero or more characters. If no I<username> is given, B<fripost-searchuser> list all existing mailboxes. -If I<username> has no domain part, lists matching users for any domains. +If I<username> has no domain part, lists matching users for any domains. +Otherwise, B<fripost-searchuser> 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<username> may be inefficient. =head1 OPTIONS |