Previous | Next | Contents | Index |
Subaddresses provide a convenient handle for screening e-mail messages with DELIVER. For a general discussion of subaddresses, refer to Section 2.3.
To screen mail based upon a subaddress, you must use a 1
,
2
, or 3
action to obtain the envelope
To:
address associated with the mail message being
delivered to you. You cannot use headers since there is no requirement
that your address has to appear in the header of messages you receive,
either with or without the subaddress. For instance, to detect the
subaddress "junk-mail", use the directives
* * * T 2 "ENVELOPE-TO" * "*+junk-mail*" * T D WASTEBASKET |
The first of these two directives tells DELIVER
to use the
envelope To:
address for 2-pattern
The second directive then causes any messages with +junk-mail appearing
in the envelope To:
address to be filed to your
WASTEBASKET
folder.
Previous | Next | Contents | Index |