Defining Aliases for Advanced Irma Features

In the equiv subdirectory, create a simple text file called equiv.struct . Populate it with an equivalent of:
Alias,http://www.foo.com/bar/template.html
AliasData,/home/irma/data/alias.data
The first line defines an Alias , which points to an existing Irma template. The second one defines the data file for the Alias .

In the equiv subdirectory, create a simple text file called admin.struct . Populate it with an equivalent of:
irma,Alias
For obvious security reasons, this ensures that you cannot use a random alias from the equiv.struct file to write data.

Call Irma with the chosen alias. You can remove the <input type="hidden" name="template" value="url"> tag and add the alias name to the arguments of the action value:
<form 
 method="post" 
 action="http://www.foo.com/cgi-bin/irma?Alias">
If you need a confirmation step:
<form 
 method="post" 
 action="http://www.foo.com/cgi-bin/irma?Alias+confirm">

If an Alias has an associated AliasData, you will be able to use the <!--DATA--expression--> tag.

Additional Irma aliases are:

Table 4-3. Irma Aliases
MailServer default smtp (mail) server to use
Log post log file; will contain a row for each post with the current server date, remote ip and the url of the template file