[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Neomail Email Addresses
- Subject: [cobalt-users] Neomail Email Addresses
- From: "Jim Scott" <cobaltlist@xxxxxxxxxxxx>
- Date: Wed Nov 28 23:21:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Does anyone have a patch to eliminate the hostname from the email address in
the currect neomail package.
For instance if you are hosting a domain name on your raq server called
www.domain.com and you go to www.domain.com/neomail and log in and go to
preferrences you will notice that the username is user@xxxxxxxxxxxxxx
I want this to only be user@xxxxxxxxxx
I assume the code is below that gets this information for later use. Anyone
know what needs to be done to have it remove the hostname off the front of
it?
# domainnames - Users can choose their outgoing mail domain from any one
listed
# in this array, enabling admins to now only install a single
# copy of NeoMail and still support multiple domains.
#Taco
my $SITEHOSTNAME=$ENV{HTTP_HOST};
if ($SITEHOSTNAME =~ /^([-\@\w.]+)$/) {
$SITEHOSTNAME = $1; # $data now untainted
}
#@domainnames = qw( cobalt.com );
@domainnames = $SITEHOSTNAME;
Thanks in advance.
Jim