Two (alternate) email addresses for one user?

I sometimes use bortzmeyer@staff.netaktiv.com and sometimes
bortzmeyer@netaktiv.com. Since the RT user ‘bortzmeyer’ is declared
with the latter address, RT rejects me when I send from the first one.

Is there a way to declare the two addresses as far as authenticating
incoming email is concerned? Reading the database schema, it seems not
but I still hope…

I sometimes use bortzmeyer@staff.netaktiv.com and sometimes
bortzmeyer@netaktiv.com. Since the RT user ‘bortzmeyer’ is declared
with the latter address, RT rejects me when I send from the first one.

Is there a way to declare the two addresses as far as authenticating
incoming email is concerned? Reading the database schema, it seems not
but I still hope…

You could alter CanonicalizeAddress in config.pm

I sometimes use bortzmeyer@staff.netaktiv.com and sometimes
bortzmeyer@netaktiv.com. Since the RT user ‘bortzmeyer’ is declared
with the latter address, RT rejects me when I send from the first one.

Is there a way to declare the two addresses as far as authenticating
incoming email is concerned? Reading the database schema, it seems not
but I still hope…

You should have your MUA do it. I see that you are using mutt; you can
add a send-hook for the RT address:

send-hook my@rt.address ‘From: Stephane Bortzmeyer bortzmeyer@netaktiv.com

(darren)

It is seldom that liberty of any kind is lost all at once.
– David Hume

a message of 19 lines which said:

You could alter CanonicalizeAddress in config.pm

Yes, it is the simplest solution (configuring mutt is not, mail can be

sub CanonicalizeAddress {
my $email = shift;
# The following rule would treat all email
# coming from a subdomain as coming from second level domain
# netaktiv.com
$email =~ s/@(.*).netaktiv.com/@netaktiv.com/;
return ($email)
}

Thanks.