IMP 3.1: Undefined identities use MY name - Help
Darien Kruss
darien@kruss.com
Thu, 4 Apr 2002 15:50:24 -0600
As I am deploying Horde 2.0/IMP 3.1 to more users in my organization,
I am noticing a strange behavior and I can't seem to track it down.
If a user creates an identity, or modifies their 'default identity'
then everything works as expected.
If a user logs in to IMP and just composes and sends mail, the mail
is sent with MY name (as it is configured in Red Hat 7.2 shell) and
their email address as the FROM: (Darien Kruss <joe@example.com>)
Here's where I'm confused. None of the processes on the server run as
me. My name doesn't appear in any config or prefs files. All software
installation is done as root. If I change my account name (usermod -c
'New Name' darien) then IMP uses THAT name.
At what point could IMP be reading the name of a user account in
Linux and using it as the sender's name? I'm stumped.
--
Darien M. Kruss
darien@kruss.com
>From eric.rostetter@physics.utexas.edu Date: Thu, 4 Apr 2002 15:53:30 -0600
Return-Path: <eric.rostetter@physics.utexas.edu>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 67722 invoked from network); 4 Apr 2002 21:53:17 -0000
Received: from pcgxmt1.ph.utexas.edu (root@128.83.114.121)
by clark.horde.org with SMTP; 4 Apr 2002 21:53:17 -0000
Received: (from httpd@localhost)
by pcgxmt1.ph.utexas.edu (8.9.3/8.9.3) id PAA10710
for imp@lists.horde.org; Thu, 4 Apr 2002 15:53:30 -0600
Received: from 128.83.155.179 ( [128.83.155.179])
as user ericr@mail.ph.utexas.edu by mail.ph.utexas.edu with HTTP;
Thu, 4 Apr 2002 15:53:30 -0600
Message-ID: <1017957210.3caccb5acf866@mail.ph.utexas.edu>
Date: Thu, 4 Apr 2002 15:53:30 -0600
From: Eric Rostetter <eric.rostetter@physics.utexas.edu>
To: imp@lists.horde.org
References: <1017853241.3cab35391adc0@mail.ph.utexas.edu> <1017943914.3cac976a39a51@marina.horde.org>
In-Reply-To: <1017943914.3cac976a39a51@marina.horde.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.1-cvs
X-Originating-IP: 128.83.155.179
Subject: Re: [imp] text/enriched viewer
Quoting Chuck Hagenbuch <chuck@horde.org>:
> I've committed it, with a couple of new things (<color> and <fontfamily>
> implemented, a few tweaks to make nested <bigger> and <smaller> tags work,
> etc.), and also broke most of it out into Horde, so that other apps can
> use non IMP-specific bits (those being the quoting, etc.).
Some nice additions. Thanks for your interest!
> Eric, whatcha think of what I committed?
You completely broke it ;) Sorry. It wouldn't parse the example
in the RFC anywhere near correctly. Nor the emails I have...
So now I've put up a new revised version at
https://mail.utexas.edu/patches/misc/enriched.php.txt
that works for me. Added color by names (ala your color by rgb)
according to the rfc, since I find the names are used at least as
often as the rgb values. You converted things to <div> which causes
a line break, so I changed those to <span> which doesn't do the line
breaks (note, some of them need to be <div> since the rfc says they
should cause a line break, and others can't be <div> but must be
<span> since the rfc says they should not cause a line break).
Also, your code messed with the case of << (or in the html page
<<) so I've put a stupid test in for that. Basically each
ereg_replace now looks for a non-< before the < -- Yeah, this
is a stupid way to do it, but it works for now, and I'm hoping someone
can tell me a better way to do it (maybe keeping the chr(1) encoding
for a longer time, converting it back after the tags are all done???)
Please check out my new version, and see what you think. It is much
nicer (in features/function) than my original, but probably not as
nice in programming style/clarity...
> -chuck
--
Eric Rostetter
eric.rostetter@physics.utexas.edu
Hey Rocky! Watch me pull a rabbit from my hat!