1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
<HEAD>
<TITLE>EMIL version 2 TUTORIAL</TITLE>
</HEAD>
<BODY>
<H1>TUTORIAL FOR EMIL VERSION 2.1
</H1>
<EM>Written by Martin Wendel, ITS, Uppsala university.
Martin.Wendel@its.uu.se
</EM>
<HR>
<A HREF=end.html><IMG ALIGN=MIDDLE SRC=arrow_right3.gif></A><A HREF=main.html><IMG ALIGN=MIDDLE SRC=arrow_up2.gif></A><A HREF=output.html><IMG ALIGN=MIDDLE SRC=arrow_left3.gif></A>
<H2>CONFIGURATION OF EMIL.CF</H2>
<p>
When you've set up your sendmail to use Emil you need to configure Emil
to do the right conversions. This is done in emil.cf.
Here follows an overview on how to configure emil.cf. For a detailed
description of the syntax of emil.cf check the man page.
<p>
The emil.cf
supplied with the distribution contains a few different conversion groups.
Create your own groups if the ones provided does not suit your needs.
<p>
Once you've got your groups set up, you define members of your groups.
A member is selected by <recipient>, <sender> and
<recipient host>, all provided by arguments to Emil.
<p>
The simplest way to define members is to consider your message format
situation compared to the rest of the world. If a single message format
is what you want to send to most of the rest of the world, define this
message format as the default conversion group. Then make exceptions
for all or part of your local environment and for those remote sites
that also are exceptions to the default.
<p><em>
You should always send MIME formatted messages to sites you're not
familiar with. MIME should be regarded as default on the Internet.
</em>
<p>
<b>An example:</b> Your site don't want MIME formatted messages but the
rest of the world does. Start by defining an apropriate conversion group
for your local site. If this group is called local_group and the MIME
group is called mime_group, edit emil.cf according to:
<pre>
member local_group : *.yourdomain, *, *,
*@yourdomain, *, *;
member mime_group : *, *, *;
</pre>
<p>
Remember that emil only finds the first match, <b>put the default match
at the bottom</b>.
If you need more than two message groups just add the member fields
according to above.
<p>
There is one thing that might need explaination with this: If Emil is
to convert charset of non-MIME messages, there is most of the time no
specification of the source charset defined in the message itself. If
these messages come from your own site, the charset can be extracted
from emil.cf by reversing the member lookup. That is, when Emil receives
a message it tries to determine the source charset by reversing sender
and recipient when performing a member lookup. If you are the sender,
Emil will check what charset you would want if the message were to be
received by you. Any charset definitions in the message itself that is
recognized by Emil will override the result from the reverse lookup.
<p>
Now you should be ready to implement message conversion at your site.
<br>
Have fun!
<hr size="4" noshade>
<ADDRESS>
<table WIDTH="95%">
<td>
March 1996<p>
<B>ITS Uppsala university</B><BR>
Box 887<BR>
751 08 Uppsala<BR>
SWEDEN<P>
</td>
<td ALIGN="right" VALIGN="middle">
<a href="mailto:Martin.Wendel@its.uu.se">Martin Wendel</a>
</td>
<td ALIGN="left" VALIGN="middle">
<a href="mailto:Martin.Wendel@its.uu.se">
<IMG border="0" SRC="binpobox.gif" ALT="E-Mail: "></a>
</td>
</table>
</ADDRESS>
</body>
</html>
|