Henry Baragar wrote:

> On Sun, 23 May 2004 22:57:13 -0400 (CLT), Alejandro Mery
> <[EMAIL PROTECTED]>  wrote:
>
>
>> ( this is hand writter not pasted, it can contain deep errors )
>> --- from run script --
>> /opt/vmailmgr/bin/checkvpw \
>> /opt/bincimap/bin/vmailmgr_wrapper \
>> Maildir \
>> /opt/bincimap/bin/bincimapd
>>
> Does this work?  When we were experimenting with checkvpw we found
> that it  clobbered the last argument on the command line 
> (/opt/bincimap/bin/bincimapd) regardless of what it contained.

from authenticate/checkvpw.cc:
unsigned find_maildir(int argc, const char* args[])
{
  for(int arg = 0; arg < argc; arg++) {
    if(strcasestr(args[arg], config->maildir_arg_str().c_str()))
      return arg;
  }
  return argc-1;
}
---
config->maildir_arg_str() has a default value of "maildir".

and it works... you can check the strace attached to the first mail if
you are not convinced. ;-)

Alejandro

>
> Henry:-)
>

Reply via email to