At 00.39 11/04/2006, you wrote:
tonix (Antonio Nati) wrote:
> Bill, actually there could be two alternative solutions:
>
> 1) select an alternative file that always exists in the directory
> (surviving to last ezmlm-idx changes)
> 2) enable CHKUSER_ENABLE_ALIAS_DEFAULT : that should enable rcpt
> acceptance if .qmail-list-default does exists.
>
> In the first case, following line in case 11 in chkuser.c must be changed:
> if (!stralloc_cats (&tmp_path,
> "/mailinglist")) DIE_NOMEM();
>
> In the second case, no intervent should be done (if .qmail-list-default
> still exists :-) ).
>
> Any comment is welcome.
Would the CHKUSER_ENABLE_ALIAS_DEFAULT affect the .qmail-default file in
the domain directory? Or is that only for other .qmail files?
It always looks for something like .qmail-alias-default.
.qmail-default should never be used because of this define.
I think /editor is always present, perhaps that's a better solution.
Ok, you may modify this line, I'll put it in next chkuser release.
- if (!stralloc_cats
(&tmp_path,"/mailinglist")) DIE_NOMEM();
+ if (!stralloc_cats
(&tmp_path,"/editor")) DIE_NOMEM();
Thanks,
Tonino
Regards
Bill