Hi,
I have patched Cistron 1.6.4 to work with vpopmail 4.9.6-1's virtual
password system. The included patches are for cistron and vpopmail (fixes 2
minor bugs in vpopmail and will probably be fixed in later versions. I have
included the diffs that I sent to Ken). A readme is included.
I am currently using this in production where I work.
Comment/complaints welcome.
Enjoy.
Abdul
--
East Coast Access (http://www.eastcoast.co.za)
Tel: +27-31-267-0169
Fax: +27-31-267-0168
rad-vpopmail.tgz
The null terminator for the user field is placed one offset too far. The
following diff will fix it.
912c912,916
< if ( found == 0 ) user[j] = email[i];
---
> if ( found == 0 )
> user[j] = email[i];
> else
> user[j] = 0;
>
914d917
< user[j] = 0;
Regards
Abdul
--
East Coast Access (http://www.eastcoast.co.za)
Tel: +27-31-267-0169
Fax: +27-31-267-0168
Hi Ken,
Below is the diff output after fixing some (very minor) errors I found in
the vmoduser.c source file from vpopmail 4.9.6-1.
Regards
Abdul
106a107,110
> printf(" -0 (set V_USER0 flag)\n");
> printf(" -1 (set V_USER1 flag)\n");
> printf(" -2 (set V_USER2 flag)\n");
> printf(" -3 (set V_USER3 flag)\n");
125c129
< while( !errflag && (c=getopt(argc,argv,"vnxc:dpwibr0123")) != -1 ) {
---
> while( !errflag && (c=getopt(argc,argv,"uvnxc:dpwibr0123")) != -1 ) {
156a161,163
> case 'u':
> GidFlag |= NO_DIALUP;
> break;
164c171
< GidFlag |= V_USER1;
---
> GidFlag |= V_USER2;
167c174
< GidFlag |= V_USER1;
---
> GidFlag |= V_USER3;