Mercurial > docs > diploma
view docs/georg-lohrer_handlingmasqmail/node4.html @ 162:df6bfc48859b
I read, the correct US-american date is: Month dd, yyyy. So I removed the ^th
author | meillo@marmaro.de |
---|---|
date | Thu, 18 Dec 2008 11:32:31 +0100 |
parents | a8c310973cbe |
children |
line wrap: on
line source
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 2K.1beta (1.49) original version by: Nikos Drakos, CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>masqmail/gmx_foo.route</TITLE> <META NAME="description" CONTENT="masqmail/gmx_foo.route"> <META NAME="keywords" CONTENT="HandlingMasqmail"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta"> <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> <LINK REL="next" HREF="node5.html"> <LINK REL="previous" HREF="node3.html"> <LINK REL="up" HREF="node1.html"> <LINK REL="next" HREF="node5.html"> </HEAD> <BODY > <!--Navigation Panel--> <B> Next:</B> <A NAME="tex2html63" HREF="node5.html">masqmail/web_foo.route</A> <B> Up:</B> <A NAME="tex2html61" HREF="node1.html">Receiving and sending mails</A> <B> Previous:</B> <A NAME="tex2html55" HREF="node3.html">masqmail.conf</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION00013000000000000000"> masqmail/gmx_foo.route</A> </H2> <PRE> allowed_mail_locals = "gmx_foo" mail_host = "smtp.web.de" do_correct_helo = true map_return_path_addresses = "gmx_foo: foo@gmx.net" map_h_from_addresses = "gmx_foo: foo <foo@gmx.net>" auth_name="cram-md5" auth_login="1234567" auth_secret="password" pop3_login = "/etc/masqmail/gmx.get" </PRE> Especially the <TT>map</TT> commands need a closer look. These lines map local parts of the given address towards a full RFC 822 compliant email address. <I>map_return_path_addresses</I> does this for the passed <I>Return</I> address, <I>map_h_from_addresses</I> for the given <I>From</I> part. <BR> But, pay attention! As you can see the strange name <I>gmx_foo</I> in front of both items has never been seen until now. And in <I>allowed_mail_locals</I> you see the same item. What about this? <BR> An E-Mail will be passed towards the E-Mail provider giving a so called <I>envelope</I>. This construction envelopes the real E-Mail and passes important things like the address of the sender and the address of the receiver to the E-Mail provider. These envelope date will never be seen again on the receiver's site, because the MTA running on receiver's host will delete them. But only the envelope is valid for any MTA distinguishing the route towards the receiver. So, it must be a valid address. <BR> Per default <I>MasqMail</I> uses the current <I>user-name</I> as <I>Envelope-From:</I>. If we want to use different E-Mail accounts with mapping of addresses via the above shown <I>map_return_path_addresses</I> and <I>map_h_from_addresses</I> we have to to <I>mutilate</I> the envelope data! That could be done very easily within <I>mutt</I>. <HR> <!--Navigation Panel--> <B> Next:</B> <A NAME="tex2html63" HREF="node5.html">masqmail/web_foo.route</A> <B> Up:</B> <A NAME="tex2html61" HREF="node1.html">Receiving and sending mails</A> <B> Previous:</B> <A NAME="tex2html55" HREF="node3.html">masqmail.conf</A> <!--End of Navigation Panel--> <ADDRESS> Georg Lohrer 2001-03-23 </ADDRESS> </BODY> </HTML>