Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

OpenVms SMTP vevverrryyy slow

Rob Crooks
Frequent Advisor

OpenVms SMTP vevverrryyy slow

I recently had to change the IP address of my OpenVms 7.3 server to another range, and even though I thought I had changed the forewarding mail server properly (it's IP also changed), smtp mail is incredibly slow. It does eventually get there, but only after about 2 hours. The TCPIP$SMTP queue is constantly busy. Also, the external smtp server is on the same LAN, so it's not a routing or network problem.

I re-read the docs and am more confused about the forewarding of smtp mail to an external server than before.

Where exactly do I have to define what the external server is?

Any help is appreciated.
Veli Körkkö
Trusted Contributor

Re: OpenVms SMTP vevverrryyy slow

the key thing to note is that one must define both ZONE and ALTERNATE GATEWAY. I.e.

$ tcpip set conf smtp/zone=xxxx.xx/gate=alt=a.smtp.gate

All mail destined to the defined zone will be delivered "locally" using MX records etc. All mail destined to domains outside "our zone"
will just delivered straight away to the given gateway.

remember to do $TCPIP STOP MAIL
check that TCPIP$SMPT... queues are stopped
and restart stuff using $TCPIP START MAIL
and before starting, it might be VERY USEFUL
to do

$ define/system tcpip$smtp_log_level 3

so get more stuff to log files. One can also have more execution queues. Do

$ tcpip stop mail
$ tcpip set conf stmp/Queues=n
$ tcpip start mail

And check that you can actually reach the DNS servers.

$ tcpip show name

and test accessibility of the dns servers you are using

Ian Miller.
Honored Contributor

Re: OpenVms SMTP vevverrryyy slow

check also the MX records. The log file should tell you how VMS is routing the mail.
Purely Personal Opinion
Wim Van den Wyngaert
Honored Contributor

Re: OpenVms SMTP vevverrryyy slow

Try to do TCPTRACE. The messages of SMTP are rather easy to understand.

Rob Crooks
Frequent Advisor

Re: OpenVms SMTP vevverrryyy slow

Thank you for the assistance. Using a combination of all the suggestions I traced that my general and alternat gateways were pointing to a host record that wasn't updated, and that my DNS lookup wasn't working also.

Once again, many thanks