For example, consider the following lines from an mc file:
QUEUEGROUP(`localgroup??, `/queue/lq??)
FEATURE(`queuegroup??, `localgroup??)
This causes sendmail to use the group named localgroup instead of mqueue as the
default if a queue group in the access database is missing or nonexistent.
Once you have enabled the FEATURE(queuegroup), the next step is to add lines such as
the following to the source file for your access database:
QGRP:slow-poke.com slowgroup
QGRP:root@notify.com fastgroup
QGRP:your.domain localgroup
Each line that selects queue groups must begin with the literal expression:
QGRP:
This prefix tells sendmail that you wish to map recipient addresses or domains to
queue groups.
The first line causes mail to the slow-poke.com domain to use the queue group called
slowgroup. This shows that you can list just a domain in the lefthand column and it
will work just as expected.
The second line causes mail to the specific recipient root@notify.com to use the
queue group named fastgroup. This line demonstrates that mail to an individual can
be used in the lefthand column.
The third line illustrates your local domain, which shows that mail to your domain,
your.domain, will use the queue group named localgroup.
If you omit the name of the queue group (not recommended), you will need to use
the -e command-line switchwith makemap to create the database.
Pages:
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749