Re: [vchkpw] chkuser log mesage, remote

2010-05-03 Thread Tonix (Antonio Nati)

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



--

   in...@zioniInterazioni di Antonio Nati 
  http://www.interazioni.it  to...@interazioni.it   





!DSPAM:4bde8a4932711929022456!


[vchkpw] Dovecot deliver integration

2010-05-03 Thread qmail

Hello,

there was a thread on here about a year ago regarding  
replacing/inserting Dovecot's deliver in the mail delivery process.


I believe the last solution attempted was to have vdelivermail output  
to stdout and pipe that to deliver but it wasn't working so well.


Has anyone managed fully replace vdelivermail with deliver ?

I have it running as well but I need it to also handle my .qmail files.

Thanks!



!DSPAM:4bdee32332718591914589!



[vchkpw] Re: chkuser log mesage, remote

2010-05-03 Thread Eric Shubert

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!