Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: Ted on September 23, 2008, 09:33:06 PM

Title: Can Horde be configured to use a port other then 25?
Post by: Ted on September 23, 2008, 09:33:06 PM
After Comcast blocked port 25 I was forced to switch my email clients and SME over to port 587 to send mail.  However Horde can no longer send mail it is still trying to use Port 25.  Where/how can I configure Horde to use a different port?

Thanks

Ted
Title: Re: Can Horde be configured to use a port other then 25?
Post by: e[nt]e on September 23, 2008, 10:46:51 PM
Hey Ted,

well your first thread about this has been hijacked a bit but in between there is one post which actually holds an answer to your problem.
It's post #13 (http://forums.contribs.org/index.php?topic=41248.msg194832#msg194832) by John.
But you didn't post back in this thread and it has been locked due to off-topic. So we don't know if you already tried the solution mentioned there.
Please report back here.

Regards,
Niklas
Title: Re: Can Horde be configured to use a port other then 25?
Post by: CharlieBrady on September 24, 2008, 12:03:02 AM
After Comcast blocked port 25 I was forced to switch my email clients and SME over to port 587 to send mail.  However Horde can no longer send mail it is still trying to use Port 25.  Where/how can I configure Horde to use a different port?

You don't need to.

If you need to receive inbound SMTP on port 587 from the Internet, then use the port forwarding panel to port forward port 587 to localhost:25. Horde, and your LAN email clients, will continue to send on localhost:25.
Title: Re: Can Horde be configured to use a port other then 25?
Post by: calisun on September 25, 2008, 07:34:30 AM
Comcast did not only change inbound port, they force you to send outgoing mail on port 587.
But besides changing port, they also ban personal mail servers on residential accounts. I did make changes for email to go out on port 587, but it would never work.
They force you to send on port 587, so you have no choice but to send through their mail server, at which point they control what goes out.
Only way I could get my email to work was to move my server to a co-location facility.
Title: Re: Can Horde be configured to use a port other then 25?
Post by: Ted on September 25, 2008, 08:31:24 AM
Niklas..

Thanks, I now see the reply from "mrjhb3"
:::::::::::
/home/httpd/html/horde/imp/config/servers.php is where it's set for horde.

Either create a custom-template for the line in servers.php or do config setprop smtpd TCPPort 587 ; signal-event email-update.  Servers.php uses this value when it's expanded.

John
::::::::::

My question is how do I go about creating the custom-template in server.php or elect not to do that and I go the way of
config setprop smtpd TCPPort 587
signal-event email-update

will that be a one time deal.  In other words will that method write it permanent in the servers config fills or will it be necessary to repeat that process every time the server is rebooted?

Thanks
Tedd
Title: Re: Can Horde be configured to use a port other then 25?
Post by: CharlieBrady on September 25, 2008, 03:01:32 PM
They force you to send on port 587, so you have no choice but to send through their mail server, at which point they control what goes out.
Only way I could get my email to work was to move my server to a co-location facility.

If you enable SmartHost and outbound authentication you can enable your unmodified SME server to send on port 587.
Title: Re: Can Horde be configured to use a port other then 25?
Post by: calisun on September 25, 2008, 07:16:05 PM
If you just send out mail on port 587, nobody will receive it since all mail hosts listen on port 25. SO you have no choice but to send through their mail server, which listens on port 587 and sends it out to the world on port 25.
But once you send through their mail server, they filter any mail they deem is against their TOS, and having your own web and mail server on residential account is against their TOS. 

At this point there is no way to run mail server at home, unless you upgrade your service to a business account or move your server to a co-location facility.
Title: Re: Can Horde be configured to use a port other then 25?
Post by: Stefano on September 25, 2008, 08:15:27 PM
:::::::::::
/home/httpd/html/horde/imp/config/servers.php is where it's set for horde.

Either create a custom-template for the line in servers.php or do config setprop smtpd TCPPort 587 ; signal-event email-update.  Servers.php uses this value when it's expanded.

John
::::::::::


Ted, once again, could you please use the standard quote code?

Thank you

Stefano
Title: Re: Can Horde be configured to use a port other then 25?
Post by: janet on September 25, 2008, 10:53:38 PM
Ted

This might also be useful info

http://wiki.contribs.org/Email#Internet_provider.27s_port_25_is_blocked:_How_to_set_an_alternative_port_for_the_SMTP_server

Internet provider's port 25 is blocked: How to set an alternative port for the SMTP server

If your provider is blocking smtp port 25 on your internet connection but your hosting provider is offering an alternative port (or when using some relay service) you can simply set this alternative port by adding it to the 'Address of Internet provider's mail server' value in the 'E-mail delivery settings' screen of the server-manager like this:

<internet providers mail server name or ip-address>:<alternative port>

For example: mail.mydomain.com:587