Re: chkuser log mesage, remote <helo:remotehostname:remotehostip>
"Tonix (Antonio Nati)" <[email protected]>
| Newsgroups | gmane.mail.vpopmail |
|---|---|
| Message-ID | <[email protected]> |
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
--
------------------------------------------------------------
Inter@zioni Interazioni di Antonio Nati
http://www.interazioni.it [email protected]
------------------------------------------------------------
!DSPAM:4bde8a4932711929022456!