annotate man/masqmail.route.5 @ 91:3e7136221104

correct masqmail path in rmail script; remove docs on uninstall on install the correct path to the masqmail executable gets inserted into the rmail script now. now documentation, examples, and the templates are removed on uninstall. Empty directories are the only thing that may remain if one installs masqmail into an unusual path.
author meillo@marmaro.de
date Mon, 21 Jun 2010 09:40:16 +0200
parents ed34413652fc
children e01fed4846e4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
03817f849106 decided to release the next version as 0.2.22 (not as 0.3.0)
meillo@marmaro.de
parents: 40
diff changeset
1 .TH masqmail.route 5 2010-05-07 masqmail-0.2.22 "File Formats"
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
2
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
3 .SH NAME
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
4 masqmail.route \- masqmail route configuration file
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
5
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
6
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
7 .SH DESCRIPTION
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
8
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
9 This man page describes the syntax of the route configuration files of \fBmasqmail (8)\fR.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
10 Their usual locations are in \fI/etc/masqmail/\fR.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
11
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
12 .SH OPTIONS
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
13
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
14 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
15 \fBprotocol\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
16
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
17 \fIstring\fR can be one of `smtp' or `pipe', default is `smtp'.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
18 If set to `smtp', mail will be sent with the SMTP protocol to its destination.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
19 If set to `pipe', you also have to set `pipe' to a command, the message will then be piped to a program.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
20 See option `pipe' below.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
21
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
22 .TP
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
23 \fBmail_host\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
24
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
25 This is preferably the mail server of your ISP.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
26 All outgoing messages will be sent to this host which will distribute them to their destinations.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
27 If you do not set this mails will be sent directly.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
28 Because the mail server is probably `near' to you, mail transfer will be much faster if you use it.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
29
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
30 You can optionally give a port number following the host name and a colon, eg mail_host="mail.foo.com:25".
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
31
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
32 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
33 \fBresolve_list\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
34
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
35 Specify the method how the domain of the server is resolved.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
36 Possible values are dns_mx, dns_a, byname.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
37 For `dns_mx', the domain is assumed to be an MX pointer to a list of host names,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
38 these will be tried each in order (lowest preference value first, equal preference values in random order).
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
39 For `dns_a', the domain is assumed to be an A pointer.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
40 For `byname', the library function \fBgethostbyname(3)\fR will be used.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
41
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
42 The default is "dns_mx;dns_a;byname".
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
43
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
44 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
45 \fBconnect_error_fail\fR = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
46
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
47 If this is set, a connection error will cause a mail delivery to fail, ie. it will be bounced.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
48 If it is unset, it will just be defered.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
49
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
50 Default is false.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
51 The reason for this is that masqmail is designed for non permanent internet connections,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
52 where such errors may occur quite often, and a bounce would be annoying.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
53
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
54 For the default local_net route is is set to true.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
55
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
56 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
57 \fBhelo_name\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
58
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
59 Set the name given with the HELO/EHLO command. If this is not set,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
60 \fBhost_name\fR from \fImasqmail.conf\fR will be used,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
61 if the \fBdo_correct_helo\fR option (see below) is unset.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
62
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
63 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
64 \fBdo_correct_helo\fR = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
65
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
66 If this is set, masqmail tries to look up your host name as it appears
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
67 on the internet and sends this in the HELO/EHLO command.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
68 Some servers are so picky that they want this.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
69 Which is really crazy.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
70 It just does not make any sense to lie about ones own identity,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
71 because it can always be looked up by the server.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
72 Nobody should believe in the name given by HELO/EHLO anyway.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
73 If this is not set, \fBhost_name\fR from \fImasqmail.conf\fR or as given with
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
74 the \fBhelo_name\fR (see above) will be used.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
75
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
76 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
77 \fBdo_pipelining\fR = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
78
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
79 If this is set to false, masqmail will not use ESMTP PIPELINING,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
80 even if the server announces that it is able to cope with it.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
81 Default is true.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
82
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
83 You do not want to set this to false unless the mail setup on the
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
84 remote server side is really broken.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
85 Keywords: wingate.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
86
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
87 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
88 \fBallowed_mail_locals\fR = \fIlist\fR
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
89
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
90 This is a semicolon `;' separated list of local parts which will be allowed
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
91 to send mail through this connection.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
92 If unset and \fBnot_allowed_mail_locals\fR is also unset, all users are allowed.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
93
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
94 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
95 \fBnot_allowed_mail_locals\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
96
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
97 This is a semicolon `;' separated list of local parts which will be not allowed
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
98 to send mail through this connection.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
99 Local parts in this list will not be allowed to use this route even if they
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
100 are part of \fBallowed_mail_locals\fR (see above).
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
101
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
102 .TP
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
103 \fBallowed_return_paths\fR = \fIlist\fR
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
104
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
105 This is a semicolon `;' separated list of addresses.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
106 Messages which have one one of these addresses as the return path will be used using this route
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
107 (if not also in \fBnot_allowed_return_paths\fR or an item in \fBnot_allowed_mail_locals\fR matches).
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
108
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
109 Patterns containing `?' and `*' can be used.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
110 The special item "<>" matches the null sender address (eg. failure notices or delivery notifications).
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
111
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
112 .TP
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
113 \fBnot_allowed_return_paths\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
114
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
115 This is a semicolon `;' separated list of addresses.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
116 Messages which have one one of these addresses as the return path will not
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
117 be used using this route (even if also in \fBallowed_return_paths\fR
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
118 or an item in \fBallowed_mail_locals\fR matches).
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
119
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
120 Patterns containing `?' and `*' can be used.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
121 The special item "<>" matches the null sender address (eg. failure notices or delivery notifications).
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
122
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
123 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
124 \fBallowed_rcpt_domains\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
125
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
126 A list of recipient domains where mail will be sent to.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
127 This is for example useful if you use this route configuration when connected to another LAN via ppp.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
128 Patterns containing `?' and `*' can be used.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
129
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
130 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
131 \fBnot_allowed_rcpt_domains\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
132
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
133 A list of recipient domains where mail will not be sent to.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
134 This is for example useful if you send mail directly (\fBmail_host\fR is not set)
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
135 and you know of hosts that will not accept mail from you because they use a dialup list
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
136 (eg. \fBhttp://maps.vix.com/dul/\fR).
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
137 If any domain matches both \fBallowed_rcpt_domains\fR and \fBnot_allowed_rcpt_domains\fR,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
138 mail will not be sent to this domain.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
139 Patterns containing `?' and `*' can be used.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
140
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
141 .TP
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
142 \fBset_h_from_domain\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
143
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
144 Replace the domain part in `From:' headers with this value.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
145 This may be useful if you use a private, outside unknown address on your local LAN
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
146 and want this to be replaced by the domain of the address of your email addrsss on the internet.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
147 Note that this is different to \fBset_return_path_domain\fR, see below.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
148
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
149 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
150 \fBset_return_path_domain\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
151
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
152 Sets the domain part of the envelope from address.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
153 Some hosts check whether this is the same as the net the connection is coming from.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
154 If not, they reject the mail because they suspect spamming.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
155 It should be a valid address, because some mail servers also check that.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
156 You can also use this to set it to your usual address on the internet
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
157 and put a local address only known on your LAN in the configuration of your mailer.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
158 Only the domain part will be changed, the local part remains unchanged.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
159 Use \fBmap_return_path_addresses\fR for rewriting local parts.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
160
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
161 .TP
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
162 \fBmap_h_from_addresses\fR = \fIlist\fR
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
163
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
164 This is similar to \fBset_h_from_domain\fR, but more flexible.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
165 Set this to a list which maps local parts to a full RFC 822 compliant email address,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
166 the local parts (the keys) are separated from the addresses (the values) by colons (`:').
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
167
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
168 Example:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
169
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
170 map_h_from_addresses = "john: John Smith <jsmith@mail.academic.edu>; charlie: Charlie Miller <cmiller@mx.commercial.com>"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
171
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
172 You can use patterns, eg. * as keys.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
173
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
174 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
175 \fBmap_h_reply_to_addresses\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
176
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
177 Same as \fBmap_h_from_addresses\fR, but for the `Reply-To:' header.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
178
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
179 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
180 \fBmap_h_mail_followup_to_addresses\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
181
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
182 Same as \fBmap_h_from_addresses\fR, but for the `Mail-Followup-To:' header.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
183 Useful when replying to mailing lists.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
184
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
185 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
186 \fBmap_return_path_addresses\fR = \fIlist\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
187
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
188 This is similar to \fBset_return_path_domain\fR, but more flexible.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
189 Set this to a list which maps local parts to a full RFC 821 compliant email address,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
190 the local parts (the keys) are separated from the addresses (the values) by colons (`:').
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
191 Note that this option takes RFC 821 addresses while \fBmap_h_from_addresses\fR takes RFC 822 addresses.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
192 The most important difference is that RFC 821 addresses have no full name.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
193
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
194 Example:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
195
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
196 map_return_path_addresses = "john: <jsmith@mail.academic.edu>; charlie: <cmiller@mx.commercial.com>"
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
197
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
198 You can use patterns, eg. * as keys.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
199
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
200 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
201 \fBexpand_h_sender_address\fR = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
202
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
203 This sets the domain of the sender address as given by the Sender: header
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
204 to the same address as in the envelope return path address
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
205 (which can be set by either \fBset_return_path_domain\fR or \fBmap_return_path_addresses\fR).
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
206 This is for mail clients (eg. Microsoft Outlook) which use this address as the sender address.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
207 Though they should use the From: address, see RFC 821.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
208 If \fBfetchmail(1)\fR encounters an unqualified Sender: address,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
209 it will be expanded to the domain of the pop server, which is almost never correct.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
210 Default is true.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
211
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
212 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
213 \fBexpand_h_sender_domain\fR = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
214
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
215 Like \fBexpand_h_sender_address\fR, but sets the domain only.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
216 Deprecated, will be removed in a later version.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
217
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
218 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
219 \fBlast_route\fR = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
220
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
221 If this is set, a mail which would have been delivered using this route,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
222 but has failed temporarily, will not be tried to be delivered using the next route.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
223
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
224 If you have set up a special route with filters using the lists `allowed_rcpt_domains',
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
225 `allowed_return_paths', and `allowed_mail_locals' or their complements (not_),
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
226 and the mail passing these rules should be delivered using this route only,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
227 you should set this to `true'.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
228 Otherwise the mail would be passed to the next route (if any),
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
229 unless that route has rules which prevent that.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
230
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
231 Default is false.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
232
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
233 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
234 \fBauth_name\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
235
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
236 Set the authentication type for ESMTP AUTH authentication.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
237 Currently only `cram-md5' and `login' are supported.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
238
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
239 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
240 \fBauth_login\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
241
24
31cf4655ab0c fixed spell error
meillo@marmaro.de
parents: 16
diff changeset
242 Your account name for ESMTP AUTH authentication.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
243
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
244 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
245 \fBauth_secret\fR = \fIstring\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
246
24
31cf4655ab0c fixed spell error
meillo@marmaro.de
parents: 16
diff changeset
247 Your secret for ESMTP AUTH authentication.
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
248
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
249 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
250 \fBpop3_login\fR = \fIfile\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
251
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
252 If your Mail server requires SMTP-after-POP,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
253 set this to a get configuration (see \fBmasqmail.get(5)\fR).
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
254 If you login to the POP server before you send, this is not necessary.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
255
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
256 .TP
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
257 \fBwrapper\fR = \fIcommand\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
258
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
259 If set, instead of opening a connection to a remote server,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
260 \fIcommand\fR will be called and all traffic will be piped to its stdin and from its stdout.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
261 Purpose is to tunnel ip traffic, eg. for ssl.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
262
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
263 Example for ssl tunneling:
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
264
16
163aa299bedb fixed man pages
meillo@marmaro.de
parents: 3
diff changeset
265 wrapper="/usr/bin/openssl s_client \-quiet \-connect pop.gmx.net:995 2>/dev/null"
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
266
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
267 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
268 \fBpipe\fR = \fIcommand\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
269
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
270 If set, and protocol is set to `pipe',
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
271 \fIcommand\fR will be called and the message will be piped to its stdin.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
272 Purpose is to use gateways to uucp, fax, sms or whatever else.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
273
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
274 You can use variables to give as arguments to the command,
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
275 these are the same as for the mda in the main configuration, see \fBmasqmail.conf(5)\fR.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
276
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
277 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
278 \fBpipe_fromline = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
279
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
280 If this is set, and protocol is set to `pipe',
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
281 a from line will be prepended to the output stream whenever a pipe command is called.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
282 Default is false.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
283
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
284 .TP
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
285 \fBpipe_fromhack = \fIboolean\fR
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
286
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
287 If this is set, and protocol is set to `pipe',
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
288 each line beginning with `From ' is replaced with `>From ' whenever a pipe command is called.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
289 You probably want this if you have set \fBpipe_fromline\fR above.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
290 Default is false.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
291
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
292
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
293 .SH AUTHOR
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
294
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
295 Masqmail was written by Oliver Kurth.
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
296 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
297
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
298 You will find the newest version of masqmail at \fBhttp://prog.marmaro.de/masqmail/\fR.
26
607221b0dac1 added myself as maintainer; updated URL of the website
meillo@marmaro.de
parents: 24
diff changeset
299 There is also a mailing list, you will find information about it at masqmail's main site.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
300
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
301
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
302 .SH BUGS
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
303
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
304 Please report bugs to the mailing list.
0
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
305
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
306 .SH SEE ALSO
08114f7dcc23 this is masqmail-0.2.21 from oliver kurth
meillo@marmaro.de
parents:
diff changeset
307
34
8ea86ac25658 reformating of man page sources
meillo@marmaro.de
parents: 26
diff changeset
308 \fBmasqmail(8)\fR, \fBmasqmail.conf(5)\fR, \fBmasqmail.get(5)\fR