On Sep 25, 2009, at 12:20 PM, Wietse Venema wrote:
Erick Calder:
this brings to mind: I've long used plussed addresses and love that
feature but my only complaint is that many systems disallow the +
sign
in an e-mail address... is there a way to have a character bag work
as
the delimiter? i.e. any of a list of characters? (obviously a dot "."
could also serve well as a delimiter since it's well accepted... but
not as nice as + or /, or even -)
It could be done. It would however be a pain to convert everything
from the current hard-coded assumption of a single delimiter, and
it would require an additional abstraction layer.
However when you increase the number of delimiters, you can also
increase the number of table lookups.
I don't think it would be so difficult. when the mail arrives, the
local part of the address gets scanned for a set of characters (easy
regex) and replaced with whatever postfix currently recognises as the
delimiter. this way as far as postfix is concerned, there is still
only 1 delimiter. of course, this assumes the user isn't going to
segregate mail based on the delimiters (but I think that's fine)