masqmail

view man/masqmail.aliases.5 @ 336:2d4aa516ba0e

updated ChangeLog and NEWS
author markus schnalke <meillo@marmaro.de>
date Sat, 27 Aug 2011 18:38:55 +0200
parents 8bf7820a0e0e
children 35c5239ebcc1
line source
1 .TH masqmail.aliases 5 2011-08-27 masqmail-0.3.3 "File Formats"
3 .SH NAME
4 masqmail.aliases \- masqmail alias file format
7 .SH DESCRIPTION
9 This man page describes the format of the masqmail alias file.
10 Its usual location is \fI/etc/aliases\fR.
13 .SH FILE FORMAT
15 The alias file consists of lines of the form:
16 local_part: item1, item2, ...
17 Items can be surrounded by double quotes `"'.
18 If within the quotes other quotes are needed for an address they can be
19 escaped with a leading backslash `\\'.
21 A leading backslash `\\' indicates that this address shall not be further expanded.
23 A leading pipe symbol `|' indicates that the item shall be treated as a pipe command.
24 The content of the message will then be sent to the standard input of the command.
25 The command will run under the user id and group id masqmail is running as.
26 If quotes are needed, the pipe symbol must appear within the quotes.
28 Loops will be detected, the offending address will be ignored.
30 Aliases will be expanded at delivery time.
31 This means that if there is a message still in the queue and you change
32 any alias which matches one of the recipient addresses,
33 the change will have effect next time a delivery is attemped.
35 There is no need to restart masqmail or run any command when the alias file has been changed.
38 .SH EXAMPLE
40 .nf
41 # postmaster is required by RFC 2821
42 postmaster: root
44 # forward abuse mail to another address
45 abuse: abuse@example.org
47 # copy root's mail also to meillo
48 root: \\root, meillo
50 # pass mail to a script
51 foo: |/usr/bin/foo
52 .fi
55 .SH AUTHOR
57 Masqmail was written by Oliver Kurth.
58 It is now maintained by Markus Schnalke <meillo@marmaro.de>.
60 You will find the newest version of masqmail at \fBhttp://marmaro.de/prog/masqmail/\fR.
61 There is also a mailing list, you will find information about it at masqmail's main site.
64 .SH BUGS
66 Please report bugs to the mailing list.
69 .SH SEE ALSO
71 \fBmasqmail.conf(5)\fR, \fBmasqmail(8)\fR,