01-14-2014 08:05 AM
Our Mail admins have setup new mail-servers and now we need to update our outging mail relays on some VMS machines (2 alphas and 1 Itanium)... Can't get tcpip mail config to change the MX record or route mail via the new relays ??
Nothing I've done seems to make any difference - mail log keep showing:
Local part : TCPIP$SMTP
550 5.7.1 Unable to relay for firstname.lastname@example.org
How to resolve ??
01-14-2014 08:37 AM
It may depend on the version of what I'm assuming is TCP/IP Services. Look for the file called SYS$SPECIFIC:[TCPIP$SMTP]TCPIP$SMTP.CONF and see if you have any entries in there for Alternate-Gateway and General-Gateway. I think I remember fumbling around trying to do what you're doing using TCPIP SET CONFIGURATION SMTP and my changes never took effect until I added entries in that configuration file and restarted the service. What was originally a pretty coherent interface has had things like this configuration file tacked on in recent years.
01-14-2014 10:17 AM
there was no tcpip$smtp.config file in that directory - only a smtp_config.template file...
I coped it to create a tcpip$smtp.config file - how should I put the mail relays into it ?? what's the syntax ?
01-14-2014 12:35 PM
My entries look like:
Alternate-Gateway : smtp2.somedomain.com General-Gateway : smtp1.somedomain.com
And you'll want the file extension to be .conf, not .config. There should be in the template commented out lines similar to the above that you can uncomment.
01-14-2014 12:50 PM
And for the archives, the only documentation for the configuration I've ever seen is the very short mention in the release notes for TCP/IP Services 5.7:
No rationale is given there for breaking the existing interface.