masqmail
diff 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 |
line diff
1.1 --- a/man/masqmail.route.5 Wed Apr 03 21:45:57 2013 +0200 1.2 +++ b/man/masqmail.route.5 Thu Nov 20 20:36:20 2014 +0100 1.3 @@ -78,6 +78,36 @@ 1.4 (See also examples for \fIallowed_senders\fP) 1.5 1.6 .TP 1.7 +\fBallowed_from_hdrs\fR = \fIlist\fR 1.8 + 1.9 +This is a semicolon `;' separated list of From header addresses. 1.10 +Messages which have one of these addresses as the From header 1.11 +are allowed to use this route 1.12 +(if not also in \fBdenied_from_hdrs\fR). 1.13 + 1.14 +Glob patterns containing `?' and `*' can be used. 1.15 +If the pattern doesn't contain an `@', it is seen as a pattern for the 1.16 +local part only. 1.17 + 1.18 +Example: \fImeillo;*@*example.org;web*@example.com\fP 1.19 + 1.20 +(``meillo'' equals ``meillo@*'', i.e. the local part.) 1.21 + 1.22 +.TP 1.23 +\fBdenied_from_hdrs\fR = \fIlist\fR 1.24 + 1.25 +This is a semicolon `;' separated list of From header addresses. 1.26 +Messages which have one of these addresses as the From header 1.27 +will not be sent using this route (even if also in 1.28 +\fBallowed_from_hdrs\fR). 1.29 + 1.30 +Glob patterns containing `?' and `*' can be used. 1.31 +If the pattern doesn't contain an `@', it is seen as a pattern for the 1.32 +local part only. 1.33 + 1.34 +Example: (see \fIallowed_from_hdrs\fP) 1.35 + 1.36 +.TP 1.37 \fBlast_route\fR = \fIboolean\fR 1.38 1.39 If this is set, a mail which would have been delivered using this route,