From: "Steve Campion" <[EMAIL PROTECTED]>
Date: Tue, 14 Nov 2000 16:18:28 -0000
Ideally, I'd like the notify() function to be called once per subscriber of
the mailbox which is being delivered to.
Can anyone give me some hints on this?
There's no easy index of mailbox -> subscribers (assuming you mean
SUBSCRIBE/UNSUBSCRIBE/LSUB), so the only way of pulling this data is
to cycle through every user.sub file on the server. For a large
number of users, this is quickly untenable.
You could change the mboxlist_changesub() command to also maintain the
reverse index, in which case this would be a lot more efficient.
Larry