For example, consider the following:
R $* $: $>canonify $1
R $* <@some.domain> $# somegroup
Here, mail bound for any user at some.domain will be queued in the somegroup queue
group.
Normally, queuegroup rule sets are used to select queue groups based on the recipient.
If you wish to select based on the sender, you can do so using rules something
like the following:
LOCAL_RULESETS
Squeuegroup
R $* $: $>canonify $&f
R $+ <@ lists.domain.> $# lists
First, we fetchth e sender address using $&f, and pass it through the canonify rule set
3 to focus on the host part. The second rule matches any user at the domain
lists.domain, and selects the lists queue group.
Because there are no more rules following the second one, this rule set returns without
selecting a queue group. If the queuegroup rule set fails to select a queue group,
the default queue group (mqueue) is used.
Other possible uses for the queuegroup rule set might include:
??? Queue inbound messages on a disk different from that used for outbound
messages.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
418 | Chapter 11: Manage the Queue
??? Queue mail to suspect users in a queue that is not automatically processed so
that the mail can be manually screened before delivery.
??? Queue expendable mail, suchas short-lived notification mail (e.
Pages:
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751