Книги автора: Linux Network Administrator Guide, Second Edition
/ Книги автора: Linux Network Administrator Guide, Second Edition
Книга: Linux Network Administrator Guide, Second Edition
sendmail.cf R and S Commands
sendmail.cf R and S Commands
In the sendmail.cf file, the rulesets are defined using commands coded as S n, where n specifies the ruleset that is considered the current one.
The rules themselves appear in commands coded as R. As each R command is read, it is added to the current ruleset.
If you're dealing only with the sendmail.mc file, you won't need to worry about S commands at all, as the macros will build those for you. You will need to manually code your R rules.
A sendmail ruleset therefore looks like:
S n
R lhs rhs
R lhs2 rhs2
Похожие страницы
- Interpreting and Writing Rewrite Rules
- aliases.conf
- Разработка приложений баз данных InterBase на Borland Delphi
- Open Source Insight and Discussion
- Introduction to Microprocessors and Microcontrollers
- Chapter 6. Traversing of tables and chains
- Chapter 8. Saving and restoring large rule-sets
- Chapter 11. Iptables targets and jumps
- Chapter 5 Installing and Configuring VirtualCenter 2.0
- Chapter 16. Commercial products based on Linux, iptables and netfilter
- Appendix A. Detailed explanations of special commands
- Appendix B. Common problems and questions