docs/diploma

diff docs/georg-lohrer_handlingmasqmail/node4.html @ 3:a8c310973cbe

added (incomplete) doc by geord lohrer
author meillo@marmaro.de
date Thu, 18 Sep 2008 18:57:52 +0200
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/docs/georg-lohrer_handlingmasqmail/node4.html	Thu Sep 18 18:57:52 2008 +0200
     1.3 @@ -0,0 +1,86 @@
     1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
     1.5 +
     1.6 +<!--Converted with LaTeX2HTML 2K.1beta (1.49)
     1.7 +original version by:  Nikos Drakos, CBLU, University of Leeds
     1.8 +* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
     1.9 +* with significant contributions from:
    1.10 +  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
    1.11 +<HTML>
    1.12 +<HEAD>
    1.13 +
    1.14 +<TITLE>masqmail/gmx_foo.route</TITLE>
    1.15 +<META NAME="description" CONTENT="masqmail/gmx_foo.route">
    1.16 +<META NAME="keywords" CONTENT="HandlingMasqmail">
    1.17 +<META NAME="resource-type" CONTENT="document">
    1.18 +<META NAME="distribution" CONTENT="global">
    1.19 +
    1.20 +<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    1.21 +<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
    1.22 +<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
    1.23 +
    1.24 +<LINK REL="next" HREF="node5.html">
    1.25 +<LINK REL="previous" HREF="node3.html">
    1.26 +<LINK REL="up" HREF="node1.html">
    1.27 +<LINK REL="next" HREF="node5.html">
    1.28 +</HEAD>
    1.29 +
    1.30 +<BODY >
    1.31 +<!--Navigation Panel-->
    1.32 +<B> Next:</B> <A NAME="tex2html63" HREF="node5.html">masqmail/web_foo.route</A>
    1.33 +<B> Up:</B> <A NAME="tex2html61" HREF="node1.html">Receiving and sending mails</A>
    1.34 +<B> Previous:</B> <A NAME="tex2html55" HREF="node3.html">masqmail.conf</A>
    1.35 +<BR>
    1.36 +<BR>
    1.37 +<!--End of Navigation Panel-->
    1.38 +
    1.39 +<H2><A NAME="SECTION00013000000000000000">
    1.40 +masqmail/gmx_foo.route</A>
    1.41 +</H2>
    1.42 +<PRE>
    1.43 +allowed_mail_locals = "gmx_foo"
    1.44 +mail_host = "smtp.web.de"
    1.45 +do_correct_helo = true
    1.46 +map_return_path_addresses = "gmx_foo: foo@gmx.net"
    1.47 +map_h_from_addresses = "gmx_foo: foo &lt;foo@gmx.net&gt;"
    1.48 +auth_name="cram-md5"
    1.49 +auth_login="1234567"
    1.50 +auth_secret="password"
    1.51 +pop3_login = "/etc/masqmail/gmx.get"
    1.52 +</PRE>
    1.53 +Especially the <TT>map</TT> commands need a closer look. These lines
    1.54 +map local parts of the given address towards a full RFC 822 compliant
    1.55 +email address. <I>map_return_path_addresses</I> does this for the
    1.56 +passed <I>Return</I> address, <I>map_h_from_addresses</I> for the given
    1.57 +<I>From</I> part.
    1.58 +<BR>
    1.59 +But, pay attention! As you can see the strange name <I>gmx_foo</I> in
    1.60 +front of both items has never been seen until now. And in
    1.61 +<I>allowed_mail_locals</I> you see the same item. What about this?
    1.62 +<BR>
    1.63 +An E-Mail will be passed towards the E-Mail provider giving a so
    1.64 +called <I>envelope</I>. This construction envelopes the real E-Mail
    1.65 +and passes important things like the address of the sender and the
    1.66 +address of the receiver to the E-Mail provider. These envelope date
    1.67 +will never be seen again on the receiver's site, because the MTA
    1.68 +running on receiver's host will delete them. But only the envelope is
    1.69 +valid for any MTA distinguishing the route towards the receiver. So,
    1.70 +it must be a valid address.
    1.71 +<BR>
    1.72 +Per default <I>MasqMail</I> uses the current <I>user-name</I> as 
    1.73 +<I>Envelope-From:</I>. If we want to use different E-Mail accounts
    1.74 +with mapping of addresses via the above shown <I>map_return_path_addresses</I> and
    1.75 +<I>map_h_from_addresses</I> we have to to <I>mutilate</I> the envelope
    1.76 +data!  That could be done very easily within <I>mutt</I>.
    1.77 +<HR>
    1.78 +<!--Navigation Panel-->
    1.79 +<B> Next:</B> <A NAME="tex2html63" HREF="node5.html">masqmail/web_foo.route</A>
    1.80 +<B> Up:</B> <A NAME="tex2html61" HREF="node1.html">Receiving and sending mails</A>
    1.81 +<B> Previous:</B> <A NAME="tex2html55" HREF="node3.html">masqmail.conf</A>
    1.82 +<!--End of Navigation Panel-->
    1.83 +<ADDRESS>
    1.84 +Georg Lohrer
    1.85 +2001-03-23
    1.86 +</ADDRESS>
    1.87 +
    1.88 +</BODY>
    1.89 +</HTML>