J Malcolm wrote:
You certainly can do this. I have my server setup this way. It is quite easy to do too.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
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
