masqmail-0.2
view docs/old-manual/alias.html @ 179:ec3fe72a3e99
Fixed an important bug with folded headers!
g_strconcat() returns a *copy* of the string, but hdr->value still
pointed to the old header (which probably was a memory leak, too).
If the folded part had been quite small it was likely that the new
string was at the same position as the old one, thus making everything
go well. But if pretty long headers were folded several times it was
likely that the new string was allocated somewhere else in memory,
thus breaking things. In result mails to lots of recipients (folded
header) were frequently only sent to the ones in the first line. Sorry
for the inconvenience.
author | meillo@marmaro.de |
---|---|
date | Fri, 03 Jun 2011 09:52:17 +0200 |
parents | |
children |
line source
9 <HTML>
10 <HEAD>
11 <TITLE>MasqMail - Manual
12 </TITLE>
13 </HEAD>
14 <BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff">
16 <center>
17 <table width="80%">
18 <tr><td>
19 <table width="100%" bgcolor="#0000aa" cellspacing=0 cellpadding=0>
20 <tr>
21 <td>
22 <a href="manual.html">
23 <img width="20" src = "../images/u_arrow.gif" alt = "manual">
24 </a>
25 </td>
26 <td align=center width="100%"><font size="6" color = "#ffffff">Alias Format</font></td>
27 <td>
28 <a href="./options.html">
29 <img width="20" src = "../images/l_arrow.gif" alt = "Options">
30 </a>
31 </td>
32 <td>
33 <a href="./config.html">
34 <img width="20" src = "../images/r_arrow.gif" alt = "Configuration">
35 </a>
36 </td>
37 </tr>
38 </table>
41 <p>The alias file consists of lines of the form:</p>
42 <pre>
43 local_part: item1, item2, ...
44 </pre>
46 <p>Items can be surrounded by quotes '"'. If within the quotes other
47 quotes are needed for an address they can be escaped with a leading
48 backslash '\'.</p>
50 <p>A leading '\' indicates that this address shall not be further
51 expanded.</p>
53 <p>A leading pipe symbol '|' indicates that the item shall be treated
54 as a pipe command. The content of the message will then be sent to the
55 standard input of a command. The command will run under the user id
56 and group id masqmail is running as. If quotes are needed, the pipe
57 symbol must appear <i>within</i> the quotes.</p>
59 <p>Loops will be detected, the offending address will be ignored.</p>
61 <p>Aliases will be expanded at <i>delivery</i> time. This means that
62 if there is a message still in the queue and you change any alias
63 which matches one of the recipient addresses, the change will have
64 effect next time a delivery is attemped.</p>
66 <p>There is no need to restart masqmail or run any command when the
67 alias file has been changed.</p>
68 </td></tr>
70 <tr><td>
71 <p>
72 <hr>
73 <address><a href = "mailto:kurth@innominate.de">Oliver Kurth</a></address>
74 Last modified: Tue May 30 15:19:57 CEST 2000
75 <br>
76 This page was created using <a href="http://www.freddyfrog.com/hacks/genpage/">Genpage</a> - Version: 1.0.6
77 </p>
79 </table>
80 </center>
82 </BODY>
83 </HEAD>