[rt-users] Two (alternate) email addresses for one user? [netaktiv.com #162]
Stephane Bortzmeyer
bortzmeyer at netaktiv.com
Tue Apr 30 10:03:49 EDT 2002
On Mon, Apr 29, 2002 at 04:44:02PM +0100,
Stephen Gower <stephen.gower at wolfson.oxford.ac.uk> wrote
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
sent by cron, or by various robots):
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.
More information about the rt-users
mailing list