tobold.org

correct • elegant • free

△ comp.mail.* △

◅ The standard format of email addresses in To: and Cc: header?

Changing of Mail Contents ▻

HELO with masqueraded IP

In article <1e1vgyg.iejbzi1m72vh4N@stk.berlin.snafu.de>,
Stefan Haller <stk@snafu.de> wrote:
>The reason why I asked the question is that I get an increasing number
>of complaints from users who have some Linux box routing their LAN to
>the Internet; they don't have a Domain Name Server, so when my mailer
>tries to reverse-lookup the 192.168.0.1 address to get a domain name to
>put in the HELO command, they get an annoying delay waiting for the
>lookup to time out.

Don't do that, then.

If I understand you, you are writing an SMTP client, which does a
reverse lookup on its IP address to discover a name to put into the HELO
command.  This is completely pointless; the server will do the same
lookup anyway.

If the client doesn't know its own name (what's wrong with uname(2)?),
I'd go for `HELO no.name', or something equally obviously bogus.

Tim.
--
Tim Goodwin   | "People think [ W. Gibson is ] hi-tech because his prose
Leicester, UK | is as pleasant to read as a C++ program." -- JT

Original headers:

From: tjg@star.le.ac.uk (Tim Goodwin)
Newsgroups: comp.mail.headers
Subject: Re: HELO with masqueraded IP
Date: 29 Nov 1999 13:57:26 -0000
Organization: A poorly-installed InterNetNews site
Message-ID: <81u0o6$g6o$1@ltpcg.star.le.ac.uk>
References: <1e1sm1o.t1139k11b2akgN@stk.berlin.snafu.de>
  <1999Nov2522.21.16.19105@koobera.math.uic.edu>
  <1e1vgyg.iejbzi1m72vh4N@stk.berlin.snafu.de>

△ comp.mail.* △

◅ The standard format of email addresses in To: and Cc: header?

Changing of Mail Contents ▻