[Vmail-discuss] Limiting Forwarders

Chris Lightfoot chris@ex-parrot.com
Thu, 30 Jan 2003 17:19:41 +0000


On Thu, Jan 30, 2003 at 07:54:09PM +0300, Odhiambo Washington wrote:
> * Chris Lightfoot <chris@ex-parrot.com> [20030130 19:50]: wrote:

> > Yeah, that's pretty much it. The limitation on the number
> > of forwarders is just in the web interface-- MySQL doesn't
> > offer enough sophistication to do it in the database. It's
> > pretty much a case of copying the code for the popboxes
> > case, and adding another field to the domains table.
> > 
> 
> It's in the web interface that I saw there is no limitation ;)

Well, the change is pretty simple. Add a max_forwarder
field to domain (or just use max_popbox) and add checks
like those in db_add_popbox to db_add_forwarder in
cgi-bin/email_setup.

-- 
``Nobody ever forgets where he buried the hatchet.'' (Hubbard)