masqmail

view docs/old-manual/manual.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 <HTML>
2 <HEAD>
3 <TITLE>MasqMail - Manual
4 </TITLE>
5 </HEAD>
6 <BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff">
8 <center>
9 <table width="80%">
10 <tr><td>
11 <table width="100%" bgcolor="#0000aa" cellspacing=0 cellpadding=0>
12 <tr>
13 <td>
14 <a href="index.html">
15 <img width="20" src = "../images/u_arrow.gif" alt = "index">
16 </a>
17 </td>
18 <td align=center width="100%"><font size="6" color = "#ffffff">Manual</font></td>
19 </tr>
20 </table>
23 <a href = "install.html">Installation</a><br>
24 <a href = "faq.html">Frequently Asked Questions</a><br>
25 <br>
26 <a href = "docs/masqmail.8.html">Command line options</a><br>
27 <a href = "docs/masqmail.conf.5.html">Configuration</a><br>
28 <a href = "docs/masqmail.route.5.html">Routes</a><br>
29 <a href = "docs/masqmail.aliases.5.html">Alias File Format</a><br>
30 <a href = "docs/masqmail.get.5.html">Mail Get Configuration</a><br>
31 </td></tr>
33 <tr><td>
34 <p>
35 <hr>
36 <address><a href = "mailto:oku@masqmail.cx">Oliver Kurth</a></address>
37 Last modified: Fri, 28 Jul 2000 09:13:20 +0200
38 </p>
40 </table>
41 </center>
43 </BODY>
44 </HEAD>