You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-user@james.apache.org by J Malcolm <te...@malcolms.com> on 2004/11/19 18:12:20 UTC
Running SMTP on 2 ports simultaneously?
A client's company just shut down outbound port 25 on their firewall, which
means this client can no longer get to my SMTP server. I know I could
change ports on the SMTP server, but that breaks all the other clients who
expect port 25. I need to run an instance of SMTP on 25 and another
parallel instance on port 10000 or some random port that isn't blocked.
What is the best way to do this?
Thanks.
Jerry
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: Running SMTP on 2 ports simultaneously?
Posted by "Noel J. Bergman" <no...@devtech.com>.
> they want you to use their server so that they can make sure spam [...]
The problem with that approach is that things like SPF and Sender-ID break
the model for mobile workers, where we would want easy access to SMTP AUTH.
I just use SSH tunneling.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Running SMTP on 2 ports simultaneously?
Posted by Serge Knystautas <se...@lokitech.com>.
J Malcolm wrote:
> The issue is portability. It's a pain to have to go into outlook and change
> the SMTP server configuration every day when you come into the office, then
> change it again when you leave.
Yeah, it does stink. I guess you could run a separate instance on a
higher level port, and then configure their outlook to always use that
alternate port.
> It's not that they 'want' you to use their server. Just don't want you
> using port 25. Problems w/ viruses getting on machines and spamming out
> through port 25.
Well, they want you to use their server so that they can make sure spam
and virii are not leaving their network, whether intentional or otherwise.
--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
RE: Running SMTP on 2 ports simultaneously?
Posted by J Malcolm <te...@malcolms.com>.
The issue is portability. It's a pain to have to go into outlook and change
the SMTP server configuration every day when you come into the office, then
change it again when you leave.
It's not that they 'want' you to use their server. Just don't want you
using port 25. Problems w/ viruses getting on machines and spamming out
through port 25.
-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: Friday, November 19, 2004 12:20 PM
To: James Users List
Subject: Re: Running SMTP on 2 ports simultaneously?
J Malcolm wrote:
> A client's company just shut down outbound port 25 on their firewall,
which
> means this client can no longer get to my SMTP server. I know I could
> change ports on the SMTP server, but that breaks all the other clients who
> expect port 25. I need to run an instance of SMTP on 25 and another
> parallel instance on port 10000 or some random port that isn't blocked.
> What is the best way to do this?
Typically if an ISP blocks outbound port 25 it's because they need to
use the ISP's outgoing mail server. Is there a reason they couldn't
just use the ISP's outgoing mail server and then leave your mail server
running on port 25 to receive emails?
--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Running SMTP on 2 ports simultaneously?
Posted by Serge Knystautas <se...@lokitech.com>.
J Malcolm wrote:
> A client's company just shut down outbound port 25 on their firewall, which
> means this client can no longer get to my SMTP server. I know I could
> change ports on the SMTP server, but that breaks all the other clients who
> expect port 25. I need to run an instance of SMTP on 25 and another
> parallel instance on port 10000 or some random port that isn't blocked.
> What is the best way to do this?
Typically if an ISP blocks outbound port 25 it's because they need to
use the ISP's outgoing mail server. Is there a reason they couldn't
just use the ISP's outgoing mail server and then leave your mail server
running on port 25 to receive emails?
--
Serge Knystautas
Lokitech >> software . strategy . design >> http://www.lokitech.com
p. 301.656.5501
e. sergek@lokitech.com
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
Re: Running SMTP on 2 ports simultaneously?
Posted by Clive Tonge <cv...@sympatico.ca>.
J Malcolm wrote:
>A client's company just shut down outbound port 25 on their firewall, which
>means this client can no longer get to my SMTP server. I know I could
>change ports on the SMTP server, but that breaks all the other clients who
>expect port 25. I need to run an instance of SMTP on 25 and another
>parallel instance on port 10000 or some random port that isn't blocked.
>What is the best way to do this?
>
>Thanks.
>
>Jerry
>
>
You certainly can do this. I have my server setup this way. It is quite
easy to do too.
In config.xml - Find the SMTP block it starts with <smtpserver
enabled="true"> and ends with </smtpserver> copy this block. Then paste
it into the file again, I put it right below. Now change the two tags to
be different than your first smtp server, I added -in. <smtpserver-in
enabled="true"> and </smtpserver-in>. Then in the block change the port
to the port number above 1024 that you want to use. say 2025.
Now go to the assembly.xml file - find the block that starts <-!SMTP
Server> <block name="smtpserver"... and ends </block>. Copy this
block. Paste it back into the file, I put it right below it. Then change
the references to read <-!SMTP Server-in> <block name="smtpserver-in"
If you have a firewall setup, don't forget to open the port.
Restart James if everything is right with the world your done.
If you would like to test that the new port is working start telnet
from a different computer on the Internet. In a Windows command prompt
it would be - telnet your.domain port-number - you should get a
message like
220 your.domain SMTP Server (James SMTP Server 2.2*** ) ready date and time
Type quit to exit telnet. It is working.
Now just tell your client to change the port number, or add
(colon)port-number, :2025 to the server name. (At least I think that
will work?)
Take care,
Clive
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org