On Feb 27, 2009, at 2:47 PM, John Simpson wrote:
> i haven't compiled or tested this, but the basic idea seems
> sound... and as long as this code runs before anything else tries
> to use TheUserExt or TheExt (i haven't walked the entire program
> but i'm pretty sure it does) the change shouldn't affect any other
> parts of the code at all, other than accurately detecting where the
> mailbox name ends and the extension begins.
> i see tom is on this list as well- any comments? am i missing
> something stupid? should we move this discussion to the vpopmail
> (or vpopmail-devel) list?
I made a lot of changes to vdelivermail somewhere in the 5.4 branch,
but I avoided making changes to the code you referenced. It was hard
to follow, and I wasn't even sure how I would go about testing it.
We should move the discussion over to the vpopmail-devel list.
vpopmail has a new maintainer now, so it shouldn't be hard to get
your proposed changes into the next release. Reading through your
email, I'd say your logic makes sense -- scanning should happen from
the end of the name, not the start.