Operating System - OpenVMS
1827808 Members
1975 Online
109969 Solutions
New Discussion

Re: Problem setting up SMTP mail in UCX 4.2

 
SOLVED
Go to solution
Peter Forsell_1
Occasional Contributor

Problem setting up SMTP mail in UCX 4.2

Hi
I have a problem . We use Open VMS 7.1 -2 and UCX 4.2 . We use smtp mail from a callcentreapplication. This worked fine until they changed external mailserver. They could send mail within there local organistation, but im not shore they could send out to internet.
Yesterday I spent all day trying to get it work again and during a short time it worked localy. The smtp server had stopped so I started it. After that I had to reboot the alpha, and afterwards it dont send mail again.
Normaly there is a application sending mail that use standard vms mail. I tested by using the standard vms mail service.
I printed this string as to adress: smtp%"anders.w@gvb.se"
After ctrl z the mail went away but after just 5 seconds i got a mail saying mail couldent be sent "no such user" and the following error code from smtp:
550 UCX-E-SMTP_COMMANDERR gvb.se
This came up both if i tried to send localy or to internet
5 REPLIES 5
Wim Van den Wyngaert
Honored Contributor

Re: Problem setting up SMTP mail in UCX 4.2

You can try the following on VMS to see if it is VMS or other (just type your input instead of mine). If it works, the fault is at VMS side.

telnet mailserver/port=25
%TELNET-I-TRYING, Trying ... 10.66.32.180
%TELNET-I-SESSION, Session 01, host 10.66.32.180, port 25
HELO220 sdev54.alpha.xxxxxxxx ESMTP Server (Microsoft Exchange Internet
Mail
Service 5.5.2653.13) ready
MAIL FROM:
500 Command not recognized.
MAIL FROM:
250 OK - mail from
rcpt to:
250 OK - Recipient
rcpt to:
250 OK - Recipient
to:$[D
500 Command not recognized.
rcpt to:
250 OK - Recipient
RCPT TO:
250 OK - Recipient
quit
221 closing connection
Wim
Ian Miller.
Honored Contributor
Solution

Re: Problem setting up SMTP mail in UCX 4.2

$ DEFINE/SYSTEM ucx$smtp_log_level 5
then stop and start SMTP.
Additional information should appear in the log file (in SYS$SPECIFIC:[UCX_SMTP])

You can also use
$ DEFINE/SYSTEM UCX$SMTP_RECV_DEBUG 1
$ DEFINE/SYSTEM UCX$SMTP_RECV_TRACE 1

to get even more information
____________________
Purely Personal Opinion
Willem Grooters
Honored Contributor

Re: Problem setting up SMTP mail in UCX 4.2

If you look to the output of:

$ UCX SHOW CONFIG SMTP

does it state a valid IPaddress or name as general gateway or alternate gateway?
If not, you can specify the general - or alternate, I always lose the right one - to the new email-server:

$UCX SET CONFIG SMTP/GATEWAY=(GENERAL=)

(as said, it _might_ be /ALTERNATE=)

Willem
Willem Grooters
OpenVMS Developer & System Manager
Ian Miller.
Honored Contributor

Re: Problem setting up SMTP mail in UCX 4.2

Sounds like you have to change the gateway you are using

UCX SET CONFIG SMTP/GATEWAY=ALT=

UCX STOP MAIL
UCX START MAIL
____________________
Purely Personal Opinion
Victor Mendham
Regular Advisor

Re: Problem setting up SMTP mail in UCX 4.2

I think I remember once on a system when using Multinet, I had to add triple quotes at the beginning and double at the end of the string for it to recognize the address.

Not sure if you are experiencing the same thing.

Also, I had a posting here last year on setting up SMTP to allow external mail, it was on TCP/IP 5.3, but may still help you.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=215829