Re: Strange localhost.localdomain

Anne Possoz <[email protected]>
Newsgroups gmane.mail.exmh.user
Message-ID <[email protected]>
Robert Waldner wrote:

> On Sun, 26 Feb 2006 12:31:20 +0800, Peter writes:
> >after having used exmh for years I received now a complain that in MS outlook 
> >express when the reply button is clicked to my mail it shows 
> >[email protected] and naturally bounces back when send.
> >
> >this is what the header in the mail of outlook express shows:
> 
> This is because Outlook uses the Envelope-From, rather than the From:, 
>  for replying purposes. It's broken.
> 
> The Envelope-From is put together by your MTA (sendmail, postfix, exim, 
>  whatever), usually in username@machinename form. It's there you should 
>  fix the localhost.localdomain problem - because your MTA thinks your 
>  machine is named localhost.localdomain.
> 
> It might also be possible to fix the problem via your nmh's mts.conf 
>  (look in the manpage for "masquerade", specifically "draft_from",
>  though I haven't played with that myself).

Yes. This is what I do since years now:
 - modify a line in /etc/nmh/mts.conf to "masquerade: draft_from"
 - in Mail/components, Mail/replcomps etc, I set the correct "From:"
   field with my real email address (together with the "Reply-To:"
   field).

I had to do that to live in a world where the address was tested
to be valid before a mail could be accepted by some of our mailer
agent (nothing to do with exchange). 

					Anne
-- 
Anne Possoz, Domaine IT-GE            Espace logiciel libre à l'Ecole
Ecole Polytechnique Fédérale de Lausanne, 1015 Lausanne (Switzerland)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.