How to change / set SMTP relay ? (548 Views)
Reply
Advisor
Paul Goslin
Posts: 15
Registered: ‎12-10-2008
Message 1 of 5 (548 Views)

How to change / set SMTP relay ?

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 address@domain.com

How to resolve ??

Thanks...

 

Honored Contributor
Craig A Berry
Posts: 495
Registered: ‎05-06-2003
Message 2 of 5 (541 Views)

Re: How to change / set SMTP relay ?

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.

Advisor
Paul Goslin
Posts: 15
Registered: ‎12-10-2008
Message 3 of 5 (530 Views)

Re: How to change / set SMTP relay ?

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 ?

 

Thanks again..

Honored Contributor
Craig A Berry
Posts: 495
Registered: ‎05-06-2003
Message 4 of 5 (523 Views)

Re: How to change / set SMTP relay ?

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.



Honored Contributor
Craig A Berry
Posts: 495
Registered: ‎05-06-2003
Message 5 of 5 (521 Views)

Re: How to change / set SMTP relay ?

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:

 

http://h30266.www3.hp.com/odl/i64os/network/tcpip57eco2/tcprn/tcp_rnpro_001.html#smtp_ascii

 

No rationale is given there for breaking the existing interface.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.