Multiple email addresses for one person

Is there any way to give a user more than one email address? Some
people send in requests from two different email accounts, and it
would be nice to be able to group the tickets together as belonging to
a single requestor.

Alternatively, is there a place I could hook in a script to rewrite
email addresses as they come in, to render them into a canonical form?
Any examples of such a function?

Thanks,
Bng

Alternatively, is there a place I could hook in a script to rewrite
email addresses as they come in, to render them into a canonical form?
Any examples of such a function?

Oof, you were so close there :slight_smile: Look at CanonicalizeAddress in
config.pm.

Cheers,

-Rich

Rich Lafferty --------------±----------------------------------------------
Ottawa, Ontario, Canada | Save the Pacific Northwest Tree Octopus!
http://www.lafferty.ca/ | Save The Pacific Northwest Tree Octopus
rich@lafferty.ca -----------±----------------------------------------------

Rich Lafferty writes:

Oof, you were so close there :slight_smile: Look at CanonicalizeAddress in
config.pm.

Thanks, that does do the trick for me.

I still think it would be a useful feature to allow the assignment of
multiple email addresses to a single user through the web interface,
though, so I don’t have to maintain that information for each user in
the config file.

Bng

boris.goldowsky@fen.com wrote:

I still think it would be a useful feature to allow the assignment of
multiple email addresses to a single user through the web interface,
though, so I don’t have to maintain that information for each user in
the config file.

A “middle ground” might be to have config.pm look up the details
in a database; you’d have no web interface to it (unless you
wrote one), but at least it wouldn’t involve regular butchering
of config.pm and web server restarts…

I’m not sure whether multiple email addresses is a feature planned
for the next major release; it has however been mentioned before.
Jesse, if you’re reading this, is it likely?

mmm… “merge this user into that user”…

boris.goldowsky@fen.com wrote:

I still think it would be a useful feature to allow the assignment of
multiple email addresses to a single user through the web interface,
though, so I don’t have to maintain that information for each user in
the config file.

A “middle ground” might be to have config.pm look up the details
in a database; you’d have no web interface to it (unless you
wrote one), but at least it wouldn’t involve regular butchering
of config.pm and web server restarts…

Phil, I’m surprised at you… as long as the code in config->Canonicalize
calls something else that is easier to maintain than config.pm itself,
you’re set :wink:

I’m not sure whether multiple email addresses is a feature planned
for the next major release; it has however been mentioned before.
Jesse, if you’re reading this, is it likely?

Looking at the RT bug list, I can see #797, #1171, and now 1548 on this
problem. I think its on the way.

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B             Operations/Security

Bruce Campbell wrote:

A “middle ground” might be to have config.pm look up the details
in a database; you’d have no web interface to it (unless you
wrote one), but at least it wouldn’t involve regular butchering
of config.pm and web server restarts…

Phil, I’m surprised at you… as long as the code in config->Canonicalize
calls something else that is easier to maintain than config.pm itself,
you’re set :wink:

That’s exactly what I meant. In my books, a database lookup table
is “easier to maintain than config.pm itself”. :slight_smile: Sure, you could
use a flat file if you wanted, but as everything else already lives
in mysql/postgres/whatever…