Mercurial > masqmail
comparison man/masqmail.route.5 @ 429:5593964ec779
Added route conditions based on the From header
New route config directives: allowed_from_hdrs, denied_from_hdrs.
This feature was motivated by Philipp Takacs <philipp29@t-online.de>.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Thu, 20 Nov 2014 20:36:20 +0100 |
parents | 35c5239ebcc1 |
children | 34c919a8d74e |
comparison
equal
deleted
inserted
replaced
428:e972c3cbe1e0 | 429:5593964ec779 |
---|---|
74 Glob patterns containing `?' and `*' can be used. | 74 Glob patterns containing `?' and `*' can be used. |
75 | 75 |
76 Example: \fI*@spamblocker.example.org\fP | 76 Example: \fI*@spamblocker.example.org\fP |
77 | 77 |
78 (See also examples for \fIallowed_senders\fP) | 78 (See also examples for \fIallowed_senders\fP) |
79 | |
80 .TP | |
81 \fBallowed_from_hdrs\fR = \fIlist\fR | |
82 | |
83 This is a semicolon `;' separated list of From header addresses. | |
84 Messages which have one of these addresses as the From header | |
85 are allowed to use this route | |
86 (if not also in \fBdenied_from_hdrs\fR). | |
87 | |
88 Glob patterns containing `?' and `*' can be used. | |
89 If the pattern doesn't contain an `@', it is seen as a pattern for the | |
90 local part only. | |
91 | |
92 Example: \fImeillo;*@*example.org;web*@example.com\fP | |
93 | |
94 (``meillo'' equals ``meillo@*'', i.e. the local part.) | |
95 | |
96 .TP | |
97 \fBdenied_from_hdrs\fR = \fIlist\fR | |
98 | |
99 This is a semicolon `;' separated list of From header addresses. | |
100 Messages which have one of these addresses as the From header | |
101 will not be sent using this route (even if also in | |
102 \fBallowed_from_hdrs\fR). | |
103 | |
104 Glob patterns containing `?' and `*' can be used. | |
105 If the pattern doesn't contain an `@', it is seen as a pattern for the | |
106 local part only. | |
107 | |
108 Example: (see \fIallowed_from_hdrs\fP) | |
79 | 109 |
80 .TP | 110 .TP |
81 \fBlast_route\fR = \fIboolean\fR | 111 \fBlast_route\fR = \fIboolean\fR |
82 | 112 |
83 If this is set, a mail which would have been delivered using this route, | 113 If this is set, a mail which would have been delivered using this route, |