We have covered a wide range of topics in this chapter, which we can now pull together. The following examples use each of the techniques shown in this chapter and are commonly used for e-mail processing. I hope that you find it useful in creating your own mail filtering strategy.
Grouping related aspects of the Procmail rules and configuration will make your installation easier to maintain and less likely to create problems when making changes.
Within the main Procmail directory, create individual files following a consistent naming convention such as
rc.main, rc.spam, rc.lists, and so on. Then include each of these into your main
.procmailrc file as follows.
#This obtains ...