masqmail-0.2

annotate docs/old-manual/alias.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
rev   line source
meillo@56 1
meillo@56 2
meillo@56 3
meillo@56 4
meillo@56 5
meillo@56 6
meillo@56 7
meillo@56 8
meillo@56 9 <HTML>
meillo@56 10 <HEAD>
meillo@56 11 <TITLE>MasqMail - Manual
meillo@56 12 </TITLE>
meillo@56 13 </HEAD>
meillo@56 14 <BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff">
meillo@56 15
meillo@56 16 <center>
meillo@56 17 <table width="80%">
meillo@56 18 <tr><td>
meillo@56 19 <table width="100%" bgcolor="#0000aa" cellspacing=0 cellpadding=0>
meillo@56 20 <tr>
meillo@56 21 <td>
meillo@56 22 <a href="manual.html">
meillo@56 23 <img width="20" src = "../images/u_arrow.gif" alt = "manual">
meillo@56 24 </a>
meillo@56 25 </td>
meillo@56 26 <td align=center width="100%"><font size="6" color = "#ffffff">Alias Format</font></td>
meillo@56 27 <td>
meillo@56 28 <a href="./options.html">
meillo@56 29 <img width="20" src = "../images/l_arrow.gif" alt = "Options">
meillo@56 30 </a>
meillo@56 31 </td>
meillo@56 32 <td>
meillo@56 33 <a href="./config.html">
meillo@56 34 <img width="20" src = "../images/r_arrow.gif" alt = "Configuration">
meillo@56 35 </a>
meillo@56 36 </td>
meillo@56 37 </tr>
meillo@56 38 </table>
meillo@56 39
meillo@56 40
meillo@56 41 <p>The alias file consists of lines of the form:</p>
meillo@56 42 <pre>
meillo@56 43 local_part: item1, item2, ...
meillo@56 44 </pre>
meillo@56 45
meillo@56 46 <p>Items can be surrounded by quotes '"'. If within the quotes other
meillo@56 47 quotes are needed for an address they can be escaped with a leading
meillo@56 48 backslash '\'.</p>
meillo@56 49
meillo@56 50 <p>A leading '\' indicates that this address shall not be further
meillo@56 51 expanded.</p>
meillo@56 52
meillo@56 53 <p>A leading pipe symbol '|' indicates that the item shall be treated
meillo@56 54 as a pipe command. The content of the message will then be sent to the
meillo@56 55 standard input of a command. The command will run under the user id
meillo@56 56 and group id masqmail is running as. If quotes are needed, the pipe
meillo@56 57 symbol must appear <i>within</i> the quotes.</p>
meillo@56 58
meillo@56 59 <p>Loops will be detected, the offending address will be ignored.</p>
meillo@56 60
meillo@56 61 <p>Aliases will be expanded at <i>delivery</i> time. This means that
meillo@56 62 if there is a message still in the queue and you change any alias
meillo@56 63 which matches one of the recipient addresses, the change will have
meillo@56 64 effect next time a delivery is attemped.</p>
meillo@56 65
meillo@56 66 <p>There is no need to restart masqmail or run any command when the
meillo@56 67 alias file has been changed.</p>
meillo@56 68 </td></tr>
meillo@56 69
meillo@56 70 <tr><td>
meillo@56 71 <p>
meillo@56 72 <hr>
meillo@56 73 <address><a href = "mailto:kurth@innominate.de">Oliver Kurth</a></address>
meillo@56 74 Last modified: Tue May 30 15:19:57 CEST 2000
meillo@56 75 <br>
meillo@56 76 This page was created using <a href="http://www.freddyfrog.com/hacks/genpage/">Genpage</a> - Version: 1.0.6
meillo@56 77 </p>
meillo@56 78
meillo@56 79 </table>
meillo@56 80 </center>
meillo@56 81
meillo@56 82 </BODY>
meillo@56 83 </HEAD>
meillo@56 84