[Tickets #3057] no domain set in From: when composing mail
bugs@bugs.horde.org
bugs at bugs.horde.org
Fri Dec 9 02:33:42 PST 2005
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=3057
-----------------------------------------------------------------------
Ticket | 3057
Updated By | alain at ait.ac.th
Summary | no domain set in From: when composing mail
Queue | MIMP
Version | MIMP H3 (1.0-ALPHA)
State | Assigned
Priority | 2. Medium
Type | Bug
Owners | Michael Slusarz
-----------------------------------------------------------------------
alain at ait.ac.th (2005-12-09 02:33) wrote:
Well, my problem seems to revolve around $_SESSION['mimp']['maildomain']
not being set. If I force it to a hardcoded value (the same value I have set
in servers.php) in redirect.php like:
$sessArray = array('server' => Util::getFormData('server'),
'realm' => Util::getFormData('realm'),
'port' => Util::getFormData('port'),
'protocol' => Util::getFormData('protocol'),
'maildomain' => Util::getFormData('maildomain'));
change last line to:
'maildomain' => 'ait.ac.th');
the problem goes away. Somehow this value isn't set to the value found in
the corresponding (and only) entry of ./config/servers.php:
$servers['topmail'] = array(
...
'maildomain' => 'ait.ac.th',
...
My conf.php has:
$conf['server']['server_list'] = 'none';
$conf['server']['change_server'] = false;
$conf['server']['change_port'] = false;
$conf['server']['change_protocol'] = false;
$conf['server']['change_folders'] = false;
and I guess that's relevant to this problem.
I still can't figure out yet where it should be set and isn't: in
./redirect.php? in ./lib/Session.php (MIMP_Session::createSession)? in
./templates/login/login.inc (just a form entry)?
I'll give this another try next week. Any input is welcome.
More information about the bugs
mailing list