<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2657.73">
<TITLE>AW: AW: Still troubles with mail envelope sender</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Hi Seph</FONT>
</P>

<P><FONT SIZE=2>> I don't understand why you want to use -f at all. If your a trusted</FONT>
<BR><FONT SIZE=2>> user, the MTA shouldn't be adding a Sender header, and should just use</FONT>
<BR><FONT SIZE=2>> the the From header rt sets.</FONT>
</P>

<P><FONT SIZE=2>Well, it does sent the From: Header correctly... But what I was talking about ist the Envelope Sender. The one you set with the -f switch of sendmail.</FONT></P>

<P><FONT SIZE=2>Let's assume my server is called www.foobar.local (which is our company internal DNS Namespace)</FONT>
<BR><FONT SIZE=2>The user RT runs as is www-data</FONT>
<BR><FONT SIZE=2>So I get a mail sent with</FONT>
</P>

<P><FONT SIZE=2>envelope from:<www-data@www.foobar.local></FONT>
<BR><FONT SIZE=2>From: "Queuename" <queuename@company.com></FONT>
<BR><FONT SIZE=2>To: Requestor</FONT>
</P>

<P><FONT SIZE=2>So any server receiving this tells me: www.foobar.local - non existent domain.</FONT>
</P>

<P><FONT SIZE=2>That's why I would need -f to set the envelope to something like <postmaster@company.com> that exists in the Internet Namespace.</FONT></P>

<P><FONT SIZE=2>Well, I could rename our server to call itself company.com but I don't know what else I would break by doing so ;-)</FONT>
</P>

<P><FONT SIZE=2>-Benoit-</FONT>
</P>

</BODY>
</HTML>