3 dot-forward \- read a .forward file under qmail
14 forwards incoming messages according to
31 make sure to add a second line specifying delivery to your normal mailbox.
40 .B COMPATIBILITY WARNING:
45 You can use the delivery mechanism described in
52 Read and forward a message.
57 and print the forwarding instructions in it, one per line;
58 do not follow the instructions.
59 You can use this option from the command line to see how your
61 file will be interpreted:
64 dot-forward -n .forward
67 When a message arrives,
71 and handles it as discussed below.
74 will ignore further instructions in
78 specifies delivery directly to you,
82 will read further instructions in
94 will try each one in turn,
95 using the first one that exists,
96 or exiting 0 if none exist.
98 .B COMPATIBILITY WARNING:
102 as if it did not exist.
105 before V8 would throw away the incoming message.
107 .B COMPATIBILITY WARNING:
110 encounters a temporary error opening
112 it exits 111, so that
114 will try again later.
116 assumes incorrectly that
120 .B COMPATIBILITY WARNING:
124 which is normally running as the user.
126 places different constraints on its
129 since it is normally running as root.
135 forwards the message to that address.
137 The address is parsed as if it were in an RFC 822 message header.
138 Parenthesized comments and bracketed addresses are permitted:
141 bob (Bob, the postmaster) @heaven.af.mil
144 Addresses with special characters must be quoted:
147 "spaced out mailbox"@heaven.af.mil
150 Address groups are not permitted.
153 can contain any number of lines,
154 each line containing any number of addresses.
156 forwards the message to each address:
161 Joe Shmoe <shmoe@heaven.af.mil>
164 An address without a fully qualified domain name is handled
166 .BR qmail-header (5).
167 Exception: Certain addresses without domain names are handled specially,
169 .SH "DIRECT DELIVERY"
170 If an address does not contain a domain name,
171 and matches the environment variable
173 (without regard to case),
174 it specifies delivery directly to you.
176 If an address matches
178 (without regard to case),
179 it specifies delivery directly to you.
181 .B COMPATIBILITY WARNING:
183 handling of quotes and backslashes violates RFC 821 and RFC 822,
184 and is not supported by
194 lets each user manage several addresses,
195 so there is no need for a special syntax to get around forwarding.
197 If an address does not contain a domain name,
198 and begins with a vertical bar,
200 takes the rest of the address as a command to run:
207 feeds the message to the command,
208 preceded by the environment variables
214 .B COMPATIBILITY WARNING:
215 Internet addresses can legitimately start with a slash or vertical bar.
217 treats anything with an unquoted @ as an address.
219 appears to have various problems coping with these addresses,
220 and with commands that contain @ signs.
224 that begins with # is ignored:
230 .B COMPATIBILITY WARNING:
233 before V8 did not allow comments in
243 .BR http://pobox.com/~djb/dot-forward.html .