masqmail-0.2

view docs/old-manual/docs/masqmail.aliases.5.html @ 72:ad034b57f3b2

fixed Debian bug 536060 (log files are closed after SIGHUP receival) Explanation: When run in daemon mode, first the log files are opened. They get assigned to the file descriptors 3 and 4 usually. Then std{in,out,err} are closed. When SIGHUP comes in, all open files are closes and masqmail reexecutes itself. The new masqmail instance opens the log files at fd 0 and 1 now, but std{in,out,err} are closed afterwards, thus the log files are closed. The fix is to close the log files before std{in,out,err} are closed, in case the log files have higher fds. After std{in,out,err} were closed, the log files get opened again, now. See also: http://bugs.debian.org/536060
author meillo@marmaro.de
date Wed, 16 Jun 2010 10:32:20 +0200
parents
children
line source
1 <body text="#000000" link="#0000ff" bgcolor="#ffffff"><center><table width="80%">
2 <tr><td><h1>masqmail.aliases</h1>
3 <h2>masqmail alias file format</h2>
6 <h2>Description</h2>
8 <p>This man page describes the format of the masqmail alias file. Its usual location is <em>/etc/aliases</em>.</p>
12 <h2>File Format</h2>
14 <p>The alias file consists of lines of the form:</p>
16 local_part: item1, item2, ...
19 <p>Items can be surrounded by quotes '"'. If within the quotes other
20 quotes are needed for an address they can be escaped with a leading
21 backslash '\'.</p>
23 <p>A leading '\' indicates that this address shall not be further
24 expanded.</p>
26 <p>A leading pipe symbol '|' indicates that the item shall be treated
27 as a pipe command. The content of the message will then be sent to the
28 standard input of a command. The command will run under the user id
29 and group id masqmail is running as. If quotes are needed, the pipe
30 symbol must appear within the quotes.</p>
32 <p>Loops will be detected, the offending address will be ignored.</p>
34 <p>Aliases will be expanded at delivery time. This means that
35 if there is a message still in the queue and you change any alias
36 which matches one of the recipient addresses, the change will have
37 effect next time a delivery is attemped.</p>
39 <p>There is no need to restart masqmail or run any command when the
40 alias file has been changed.</p>
44 <h2>Author</h2>
46 <p>masqmail was written by Oliver Kurth
47 <oku@masqmail.cx></p><p>You will find the newest version of
48 masqmail at <a href = "http://masqmail.cx/masqmail/">http://masqmail.cx/masqmail/</a> or search for it
49 in freshmeat (<a href = "http://www.freshmeat.net">http://www.freshmeat.net</a>). There is also a mailing list,
50 you will find information about it at masqmails main site.</p>
54 <h2>Bugs</h2>
56 <p>You should report them to the mailing list.</p>
60 <h2>See also</h2>
62 <p>
63 <a href="masqmail.conf.5.html">masqmail.conf</a>, <a href="masqmail.8.html">masqmail</a>,
64 </p>
68 <h2>Comments</h2>
70 <p>This man page was written using <a href="http://masqmail.cx/xml2man/">xml2man</a> by the same author.</p>
74 </td></tr></table></center>
75 </body>