Exim Filter Specification
Exim's interfaces to mail filtering
1. Forwarding and filtering in Exim
1.1. Introduction
1.2. Testing a new filter file
1.3. Installing a filter file
1.4. Testing an installed filter file
1.5. Details of filtering commands
2. Sieve filter files
2.1. Recognition of Sieve filters
2.2. Saving to specified folders
2.3. Strings containing header names
2.4. Exists test with empty list of headers
2.5. Header test with invalid MIME encoding in header
2.6. Address test for multiple addresses per header
2.7. Semantics of keep
2.8. Semantics of fileinto
2.9. Semantics of redirect
2.10. String arguments
2.11. Number units
2.12. RFC compliance
3. Exim filter files
3.1. Format of Exim filter files
3.2. Data values in filter commands
3.3. String expansion
3.4. Some useful general variables
3.5. Header variables
3.6. User variables
3.7. Current directory
3.8. Significant deliveries
3.9. Filter commands
3.10. The add command
3.11. The deliver command
3.12. The save command
3.13. The pipe command
3.14. Mail commands
3.15. Logging commands
3.16. The finish command
3.17. The testprint command
3.18. The fail command
3.19. The freeze command
3.20. The headers command
3.21. Obeying commands conditionally
3.22. String testing conditions
3.23. Numeric testing conditions
3.24. Testing for significant deliveries
3.25. Testing for error messages
3.26. Testing for personal mail
3.27. Testing delivery status
3.28. Testing a list of addresses
3.29. Multiple personal mailboxes
3.30. Ignoring delivery errors
3.31. Examples of Exim filter commands