* See cf/README for examples of how to use this feature with maildrop(1) and scanmails(1).
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
628 | Chapter 17: Configure sendmail.cf with m4
17.8.25.1 Use another program instead of procmail
You can also use FEATURE(local_procmail) (?§17.8.25 on page 627) to include support for
the other programs. For example, the following line in your mc can be used to change the
local delivery agent to use the maildrop(8) program:
FEATURE(`local_procmail??, `/usr/local/bin/maildrop??, `maildrop -d $u??)
But before you do this, first create a configuration file without this feature that looks at the
F= delivery agent equate for the local delivery agent. Then add the earlier line and create
another configuration file. Note any differences between the F= delivery agent equates from
the two configuration files and decide which are important to retain. If you decide that
there are more F= delivery agent flags to retain than were created by FEATURE(local_
procmail), you can create a superset and add that superset declaration to FEATURE(local_
procmail) like this:
FEATURE(`local_procmail??, `/usr/local/bin/maildrop??, `maildrop -d $u??, `SPfhn9A??)
The maildrop(8) program is intended for use only withIntel-based architectures, and is
available withDebian GNU/Linux from http://packages.
Pages:
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107