Tonix (Antonio Nati) wrote:
Eric Shubert ha scritto:
I use qmail-toaster, and recently changed from using -H with tcpserver to using -h, which looks up the rDNS name and puts it in the TCPREMOTEHOST variable.

With the former setup (-H), the remote portion of the CHKUSER log message contained the helo value, "unknown" for the remotehostname, and the remotehostip value.

With the current setup (-h, or blank), the message now contains the rDNS name in place of "unknown", as expected. The helo portion though, is now blank/null (missing). Is there some reason why the helo value isn't shown when there's a remotehostname value present? Looks like a bug to me.

Many thanks, Tonix!

Hi Eric, it is not chkuser, it's a qmail behaviour.

If the helo is not different from (remote) hostname, qmail-smtpd sets it to NULL.

    void dohelo(arg)
    char *arg;
    {
      if (!stralloc_copys(&helohost,arg)) die_nomem();
      if (!stralloc_0(&helohost)) die_nomem();
      fakehelo = case_diffs(remotehost,helohost.s) ? helohost.s : 0;
    }

Regards,

Tonino


Thanks for this clarification Tonino. That's indeed what I'm seeing when I look a bit closer.

--
-Eric 'shubes'


!DSPAM:4bdef37e32711079121383!

Reply via email to