cancel
Showing results for 
Search instead for 
Did you mean: 

SMTP ERROR

 
rick agostino
Occasional Advisor

SMTP ERROR

When trying to send 4MB (ascii) file via email from my OpenVMS server to outlook email does not come through.

I have checked the SMTP logs and the only message I can find is

smtp_sender_close shutdown R0 status = -1, errno = 60, vaxc$errno = 556
smtp_sender_close sclose R0 status = -1, errno = 9, vaxc$errno = 3506252
3 REPLIES 3
Steven Schweda
Honored Contributor

Re: SMTP ERROR

ALP $ sysmsg 556
%SYSTEM-F-TIMEOUT, device timeout
ALP $ sysmsg 3506252
(SYS$COMMON:[SYSMSG]DECC$MSG.EXE;1:)
%C-F-EBADF, bad file number

(I assume that the second one is the result
of handling the first one poorly.)

To me, it looks as if the problem is on the
destination system. If you don't have any
known network problems, you might:

1. See if you can send the same e-mail
message to some other destination (like the
VMS system itself, for example).

2. Look at the error logs on the system to
which you're sending the thing now.
Hoff
Honored Contributor

Re: SMTP ERROR

There are no answers here. Just questions.

First, a clarification: Microsoft Outlook (and Outlook Express) are common Microsoft Windows mail clients. Outlook and Outlook Express are not mail servers; you can't "send" mail from OpenVMS to Outlook.

One of the SMTP servers that can be used with Outlook and Outlook Express is Microsoft Exchange. I'll here assume Exchange is the target, though it's also possible to use Microsoft Outlook and Outlook Express to access mail on OpenVMS using POP3 or IMAP; to use these as clients of the OpenVMS mail system.

Has this particular configuration and this sequence ever worked? Is this a new problem, or a new configuration?

Does this same sequence work with smaller files?

Have the logs been checked on the Microsoft Exchange server, if you're using Exchange here?

Can you ping the mail server from the OpenVMS box?

Has SMTP been configured and started within the particular IP stack?

Is the Exchange server set up as the MAIL gateway? (And is that SMTP server set to allow relay from your host?)

Can you reach other nodes with similar mail?

What are the OpenVMS versions and the IP stack and version (and if you're not current on ECOs, consider it), and what are the details of the MAIL command sequence and the file being sent?

Are you using TCPIP$SMTP_FROM?

Robert Atkinson
Respected Contributor

Re: SMTP ERROR

Rick, try DEFINing TCPIP$SMTP_LOG_LEVEL to 3, restart SMTP and try again.

The log file should show something like this :-

ALPHA_ROB$$ typ TCPIP$SMTP_LOGFILE.LOG;352/tail=40
Printing debug_level 2, relevant headers:
Return-Path: xxxxxxxxx@tbs-ltd.co.uk
Date: Mon, 13 Oct 2008 12:23:09 +0100 (BST)
Message-Id: <08101312230956_202359AC@alpha.tbs-ltd.co.uk>
From: xxxxxxxxx@tbs-ltd.co.uk
To: xxxxxxxxx@faber.co.uk, xxxxxxxxx@faber.co.uk
Subject:
X-VMS-To: xxxxxxxxx@faber.co.uk,xxxxxxxxx@faber.co.uk

13-OCT-2008 12:30:33.13: next open file _$1$DGA23:[PROD.USERS.ITOPS.BATCH_OP]08101312303311_BATCH_OP-20231A69.TCPIP_ALPHA;1(83)
Sender will relay mail to tbs-ltd.co.uk using this ordered list of gateways
Number of MX entries: 2
Expiration Date: 17-NOV-1858 00:00:00.00
Gate: xxxxxxxxx.uk.randomhouse.com, Preference: 5
Gate: xxxxxxxxx.uk.randomhouse.com, Preference: 10
Connected to SMTP server xxxxxxxxx.uk.randomhouse.com

Printing debug_level 2, Domains and recipients:
Domain: tbs-ltd.co.uk
Recipient address: xxxxxxxxx@TBS-LTD.CO.UK
Domain part: tbs-ltd.co.uk
Local part: xxxxxxxxx
Address Status: Done, delivered. (Sent)
Recipient address: xxxxxxxxx@TBS-LTD.CO.UK
Domain part: tbs-ltd.co.uk
Local part: xxxxxxxxx
Address Status: Done, delivered. (Sent)
Recipient address: xxxxxxxxx@TBS-LTD.CO.UK
Domain part: tbs-ltd.co.uk
Local part: xxxxxxxxx
Address Status: Done, delivered. (Sent)

Printing debug_level 2, relevant headers:
Return-Path: xxxxxxxxx@tbs-ltd.co.uk
Date: Mon, 13 Oct 2008 12:30:33 +0100 (BST)
Message-Id: <08101312303311_20231A69@alpha.tbs-ltd.co.uk>
From: xxxxxxxxx@tbs-ltd.co.uk
To: xxxxxxxxx@tbs-ltd.co.uk, xxxxxxxxx@tbs-ltd.co.uk, xxxxxxxxx@tbs-ltd.co.uk
Subject:
X-VMS-To: xxxxxxxxx@tbs-ltd.co.uk, xxxxxxxxx@tbs-ltd.co.uk, xxxxxxxxx@tbs-ltd.co.uk
ALPHA_ROB$$