[imp] Edit the "from_addr" field by hand for one identity

Christopher Crowley ccrowley@tulane.edu
Thu, 15 Aug 2002 09:00:10 -0500


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello -   

Imp 3.1, corresponding Horde.

We are not allowing users to change their "from_addr". In
imp/config/prefs.php this locked => 'true'.

However, there is an exception, and I would like to be able to change
the from_addr field for a single user's configuration.

So, I dumped the record into an outfile from MySQL. I modified the
"from_addr" field, I changed the string length. Then I deleted the
original record from MySQL, and did a 'load data infile ...' to bring
the record back into the user's preferences. But, the only identity
that is displayed now is "default".  I checked the session file, and
the identity information is there, so I presume it is somehow
unusable.

If this method is flawed, please let me know how to achieve the goal
of an exception to the locked "from_addr".  If you think I might have
missed something in my procedure, that info would be great, too.  If
you think that specific details would be useful, I will gladly
provide them.

Christopher Crowley
TIS Network Services
Tulane University
ccrowley@tulane.edu
504.314.2535
PGP Key ID: 0x7CF18FDB

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBPVuz5M0q7cR88Y/bEQInLACgwxF76CsADsNZWEFVPUPyq8QeMgcAn3hH
05G9OMlS/uEOcD4oTXsTjOXr
=VYy+
-----END PGP SIGNATURE-----