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 f6a6f55b7b9e
children
line wrap: on
line source









<HTML>
<HEAD>
<TITLE>MasqMail - Manual
</TITLE>
</HEAD>
  <BODY TEXT="#000000" LINK="#0000ff" BGCOLOR="#ffffff">
    
    <center>
      <table width="80%">
	<tr><td>
	    <table width="100%" bgcolor="#0000aa" cellspacing=0 cellpadding=0>
<tr>
  <td>
  <a href="manual.html">
    <img width="20" src = "../images/u_arrow.gif" alt = "manual">
  </a>
  </td>
<td align=center width="100%"><font size="6" color = "#ffffff">Alias Format</font></td>
<td>
  <a href="./options.html">
    <img width="20" src = "../images/l_arrow.gif" alt = "Options">
  </a>
</td>
<td>
  <a href="./config.html">
    <img width="20" src = "../images/r_arrow.gif" alt = "Configuration">
  </a>
</td>
</tr>
</table>


<p>The alias file consists of lines of the form:</p>
<pre>
local_part: item1, item2, ...
</pre>

<p>Items can be surrounded by quotes '"'. If within the quotes other
quotes are needed for an address they can be escaped with a leading
backslash '\'.</p>

<p>A leading '\' indicates that this address shall not be further
expanded.</p>

<p>A leading pipe symbol '|' indicates that the item shall be treated
as a pipe command. The content of the message will then be sent to the
standard input of a command. The command will run under the user id
and group id masqmail is running as. If quotes are needed, the pipe
symbol must appear <i>within</i> the quotes.</p>

<p>Loops will be detected, the offending address will be ignored.</p>

<p>Aliases will be expanded at <i>delivery</i> time. This means that
if there is a message still in the queue and you change any alias
which matches one of the recipient addresses, the change will have
effect next time a delivery is attemped.</p>

<p>There is no need to restart masqmail or run any command when the
alias file has been changed.</p>
	  </td></tr>
    
	<tr><td>
	    <p>
	    <hr>
	    <address><a href = "mailto:kurth@innominate.de">Oliver Kurth</a></address>
	    Last modified: Tue May 30 15:19:57 CEST 2000
	    <br>
	    This page was created using <a href="http://www.freddyfrog.com/hacks/genpage/">Genpage</a> - Version: 1.0.6
	  </p>
    
      </table>
    </center>

  </BODY>
</HEAD>