Hi, while makeing my webmail application I
noticed a potential slowness.

In the database, the aliases->deliver_to
is stored as varchar(250) but only contains
integers (user ids) to whom it should be
delivered to. This can be very non-optimal
when the aliases table becomes BIG.

I assume the reason for this is that it is
possible to use this field for forwarding
the mail to an external address? Is this
implemented code-wise at all?

If not then I suggest that we change this
parameter to an integer type. Then we can
implement forwarding with a separate field
in 2.1 using a deliver_to id of -1 or
something to tell code to look for at the
forward_to field.

If it is already implemented then I suggest
we separate them in 2.1.

-HK

Reply via email to