If local extensions are used, I have noticed since 0.4x (and before) courier sets the maximum number of dashes to 3. This is not a filesystem limit, nor is it a pragmatic limit for any part of the code **I** could see.
Is there a reason this cannot be raised? I have a few functions which depend
on long domain names (a few with some dashes in them) and this seems to break
things. Note: the implementation I use has the domain name as part of the
username & home directory.
Anyway, here's the patch that seems to get things to work for me:
(it isn't in standard patch format I don't think but it should get the point
across)
*** courier-0.45.2.orig/courier/module.local/local.c Mon Sep 29 21:24:39
2003
--- courier-0.45.2/courier/module.local/local.c Thu Mar 25 14:59:07 2004
***************
*** 235,237 ****
#if LOCAL_EXTENSIONS
! if (*ext == '-' && ++i > 3)
break;
--- 235,237 ----
#if LOCAL_EXTENSIONS
! if (*ext == '-' && ++i > 13)
break;
Is there a better way to ask about this? Perhaps as a feature request/
enhancement? :)
Thanks,
Roger Ward
pgp00000.pgp
Description: signature
