Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Robert Poirier on March 30, 2003, 11:28:18 AM
-
Hi all,
I'm running SME Server 5.6. I just reconfigured my e-mail server to use port 22175 since my ISP is blocking port 25 and I use No-Ip Reflector to redirect mail on it. The server it self work perfectly with clients on the local network. I can send and receive mail without any problems (after I specify the SMTP port 22175). Where I get stuck is when i try to send mail with the web interface it wont work since this client is still trying to send on port 25.
Mar 30 01:54:00 server HORDE[1822]: [imp] unable to connect to smtp server localhost:25 [on line 787 of "/home/httpd/html/horde/imp/compose.php"]
As you can see, it states a line to witch the error comes from but after trying to understand the syntax of the script it doesn't seems to be related to it (Notice that I can be wrong!). After doing so reserche on the web I found a site that explain the modification to be made for it to work.
http://www.elhoj.dk/new/index.htm?frame=http%3A//www.elhoj.dk/howto.htm
under the link :
- configure SMTP relay for mail servers with blocked port 25
There they state that modifiing the file (one lline) horde.php will do the trick.
I did it and modified it as this:
$conf['mailer']['params'] = array('port' => '');
After many atempts and reboot ( last resort :-) ) still no luck
Any hints?
-
Oups, the last script line sould have been :
$conf['mailer']['params'] = array('port' => '22175');
Sorry.
-
Did you make a custom template for the change? /etc/e-smith/templates/home/httpd/html/horde/config/horde.php/220Mailer looks like what you need.
-
Thanks M. Talcott for your reply but I figured out what was the problem. Yes to answer your question I made the modification in the custom templates sheme and that part worked well the first time.
Fortunatly, the mistake comes from my misunderstanding of the procedure and I appologize.
The Line :
$conf['mailer']['params'] = array('port' => '');
Had to be added to the script but I modified one that was already existing in the file.
I found out the correct procedure in the IMP documentation.
Regard,
Robert Poirier