masqmail-0.2
annotate 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 |
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 |