[imp] IMP error
trevor obba
trevor_obba at yahoo.co.uk
Wed Feb 1 02:51:52 PST 2006
I have being running Horde: 2.2.5 and IMP: 3.2.4 for
over a year. and it works fine. but my boss wants our
webmail to uses SMTPS(port 465) instead of smtp (port
25)
as a result i installed stunnel, to tunnel smtp 25 to
smtps(port 465) and I change my imp configuration in
/srv/www/htdocs/horde/imp/config/server.php
$servers['Cyrus'] = array(
'name' => 'Cyrus',
'server' => 'localhost',
'protocol' => 'imap/notls',
'port' => 1236'
'folders' => '',
'namespace' => '',
'maildomain' => 'cyrus.bbc.co.uk',
'smtphost' => 'localhost',
'realm' => '',
'preferred' => ''
);
Basically I changed "smtphost" to point to "localhost"
and it worked.
But I started getting the following error messages
"Parse error: parse error in
/srv/www/htdocs/horde/imp/lib/IMP.php on line 1124"
here is my line 1124
/*
* We don't actually want to alter the
contents of the $conf['mailer']
* array, so we make a copy of the current
settings. We will apply
* our modifications (if any) to the copy,
instead.
*/
$params = $conf['mailer']['params'];
Here is rest of the code
/*
* Foctually want to alter the contents of the
$conf['mailer']
* array, so we make a copy of the current
settings. We will apply
* our modifications (if any) to the copy,
instead.
*/
$params = $conf['mailer']['params'];
rce the SMTP host value to the current SMTP server if
one has been
* selected for this connection.
*/
if (!empty($_SESSION['imp']['smtphost'])) {
$params['host'] =
$_SESSION['imp']['smtphost'];
}
/*
what can I do to get ride of the error message?
I tried using '@' to get ride of this error but this
does not work.
How can I get ride of the error message? please
Thanks
___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com
More information about the imp
mailing list