1divert(-1)
2#
3# Copyright (c) 2001 Sendmail, Inc. and its suppliers.
4#	All rights reserved.
5#
6# By using this file, you agree to the terms and conditions set
7# forth in the LICENSE file which can be found at the top level of
8# the sendmail distribution.
9#
10#ident	"%Z%%M%	%I%	%E% SMI"
11#
12
13divert(0)
14VERSIONID(`$Id: queuegroup.m4,v 1.4 2001/03/28 00:39:39 ca Exp $')
15divert(-1)
16
17ifdef(`_ACCESS_TABLE_', `',
18	`errprint(`*** ERROR: FEATURE(`queuegroup') requires FEATURE(`access_db')
19')')
20
21LOCAL_RULESETS
22Squeuegroup
23R< $+ >		$1
24R $+ @ $+	$: $>SearchList <! qgrp> $| <F:$1@$2> <D:$2> <>
25ifelse(len(X`'_ARG_),`1',
26`R<?>		$@',
27`R<?>		$# _ARG_')
28R<$+>		$# $1
29