Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SMTP on different port 1

Status
Not open for further replies.

radekr

MIS
Oct 10, 2002
15
NZ
Hi,
Is it possible to set up Domino SMTP running on different port (network interface) than Domino server ?
I have Domino 5.11 on OS/400 (v 5.1)
Radek
 
Sure thing!

In the server document, go to the tab, ports/internet ports. And a little bit further down, the mail tab. Now change your settings, restart server...

There you go!
 
Thanks, but in this way I can change TCP/IP port of SMTP but not network interface (Notes Network Port) :(
Rgs,
Radek
 
Had to read this a couple of times to see what it was that you really wanted to do...

What it looks like you are trying to do is to place two NICs inside of the unit, one facing in to handle your e-mail users and one facing out to handle outbound SMTP traffic.

That being said, obviously if you are doing this, you have a seperate network IP segment that faces in and a seperate network segment that faces outward. You probably are NATing the outward facing address, so the route is not apparent to the network and the OS has no idea where to send the packet.

I am assuming that you already have your Foreign SMTP document created and a connection document that points to the Foreign SMTP document. If not, you need to look this up in the help file and create these, so that SMTP will work in the first place.

Assuming that these are in place, all you need to do to Domino is change the connection document to point at the correct IP for your external SMTP relay, then start and stop the router task.

Now then, this fixes the issue in Domino, but you need to correct the issue in the OS.

What you need to do is add a persistent route that indicates that this one external IP address is accessed through the outward facing NIC. I'm not certain as to the OS400 statement for this, but in the Windows environment it would be:

route add -p 12.64.80.51 MASK 255.255.255.255 192.168.1.1

where: -p makes the connection persistent, so that it will remain after a reboot,

12.64.80.51 is the single IP for your external relay,

255.255.255.255 is the mask that specifies this single explicit address rather than a range,

and 192.168.1.1 is the outward facing NIC.

Every OS has something to this effect, so that you can specify an interface to try when the route has not built into the internal route tables. By specifying an explicit route, the OS will always try to send any packet it receives for the external relay to the outbound interface.

Hope this helps.

Leo L'Homme, PCLP
 
Thank you for explanation. My problem is a little bit different than you suspect ;-)
I have Lotus Notes 5 and want to upgrade to version 6.
In Domino6 I can't use any more native AS/400 SMPT server (as it's in version 5).
In my current configuration Lotus server works on 168.192.1.1 and uses AS/400 SMPT server (which also run on 168.192.1.1).
I can't remove AS/400 SMTP server from that interface and can't change Domino's interface either.
The only think I can do (that is actually my question) is to leave Domino on 168.192.1.1 and setup Domino SMTP on different interface eg 168.192.1.2.

Radek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top