home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

sendmail Desktop Reference

sendmail Desktop ReferenceSearch this book
Previous: 2.8 Rule Sets Chapter 2
The sendmail.cf File
Next: 2.10 The check_ Rule Sets
 

2.9 Delivery Agent S= and R=

The S= rule set follows rule set 1 and rewrites the sender address; the R= rule set follows rule set 2 and rewrites the recipient address (see Figure 2.1 They are declared inside a delivery agent declaration like this:


S=


set



S=


eset


/


hset



R=


set



R=


eset


/


hset

When there is just a single set specified, it is the rule set used to rewrite both header and envelope addresses. When a slash is present, the rule set to the left rewrites the envelope and the one to the right, the headers. If any is missing or zero, that rewriting is skipped.

Any S= rule set may be expressed as:



number




name




name


=


number

When identified by name, a number is internally assigned by sendmail . An optional = and number may follow a name to force specific association of number to name.











??????????????@Mail.ru