- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Inbound SMTP
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 06:00 AM
тАО05-04-2010 06:00 AM
If you $ TELNET LOCALHOST/PORT=25 the connection is made but you don't get the normal SMTP 220 banner line nor does it respond to SMTP commands (HELO, etc). The commands do echo but otherwise do nothing.
We have rebooted --- reconfigured SMTP but to no avail.
Does anyone have any suggestions to help trace down the problem ?
$ telnet localhost/port=25
%TELNET-I-TRYING, Trying ... 127.0.0.1
%TELNET-I-SESSION, Session 01, host localhost, port 25
heloNET-I-ESCAPE, Escape character is ^]
quit
send
TELNET> exit
%TELNET-S-LCLCLOSED, Local connection closed
-TELNET-I-SESSION, Session 01, host localhost, port 25
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 06:15 AM
тАО05-04-2010 06:15 AM
Re: Inbound SMTP
>> We have rebooted --- reconfigured SMTP but to no avail.
Is the SMTP configured and started up properly.
Whats the output of
$ UCX SHOW SERVICE SMTP/FULL
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 06:17 AM
тАО05-04-2010 06:17 AM
Re: Inbound SMTP
Service: SMTP
State: Enabled
Port: 25 Protocol: TCP Address: 0.0.0.0
Inactivity: 5 User_name: TCPIP$SMTP Process: TCPIP$SMTP
Limit: 10 Active: 0 Peak: 1
File: TCPIP$SYSTEM:TCPIP$SMTP_RECV_RUN.COM
Flags: Listen IPv6
Socket Opts: Rcheck Scheck
Receive: 0 Send: 0
Log Opts: Acpt Actv Dactv Conn Error Exit Logi Logo Mdfy Rjct TimO Addr
File: SYS$SPECIFIC:[TCPIP$SMTP]TCPIP$SMTP_RECV_RUN.LOG
Security
Reject msg: not defined
Accept host: 0.0.0.0
Accept netw: 0.0.0.0
$
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 06:19 AM
тАО05-04-2010 06:19 AM
Re: Inbound SMTP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 06:35 AM
тАО05-04-2010 06:35 AM
Re: Inbound SMTP
did you look at the contents of SYS$SPECIFIC:[TCPIP$SMTP]TCPIP$SMTP_RECV_RUN.LOG ?
Any OPCOM messages ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 06:53 AM
тАО05-04-2010 06:53 AM
Re: Inbound SMTP
> %TELNET-I-SESSION, Session 01, host localhost, port 25
> heloNET-I-ESCAPE, Escape character is ^]
> [...]
You're talking too soon. A normal session
looks like:
alp $ telnet /port = 25 localhost
%TELNET-I-TRYING, Trying ... 127.0.0.1
%TELNET-I-SESSION, Session 01, host localhost, port 25
220 alp.antinode.info V5.6-ECO5, OpenVMS V8.3 Alpha ready at Tue, 4 May 2010 09:
25:59 -0500 (CDT)
quit
221 alp.antinode.info Service closing transmission channel
%TELNET-S-REMCLOSED, Remote connection closed
-TELNET-I-SESSION, Session 01, host localhost, port 25
(The "%TELNET-I-ESCAPE" line gets overwritten
by the SMTP greeting ("220 [...]"). Around
here, that takes about 8 seconds. I assume
that it's checking the client IP address
against a large SMTP.CONFIG file.)
You're not getting the greeting, so I'd guess
that the SMTP receiver is slow/hung.
You might try defining TCPIP$SMTP_RECV_TRACE
(to "1"), and looking for useful info in the
resulting log file(s)
(SYS$SPECIFIC:[TCPIP$SMTP]TCPIP$SMTP_RECV_RUN.LOG).
In general, I'd look around for files with
";32767", as this high-quality software tends
to create log files without a care in the
world, until it can't any longer.
Could be just a busy CPU, too. I can't
remember the reason (like so many things),
but I added this (among other things) to my
TCPIP$SMTP_RECV_RUN.COM:
[...]
$ run:
$ prio = f$trnlnm( "TCPIP$SMTP_RECV_RUN_PRIORITY")
$ if (prio .NES. "")
$ then
$ set process /priority = 'prio'
$ endif
$ run 'f$edit("sys$system:tcpip$smtp_receiver.exe","upcase")'
[...]
And, around here:
ALP $ show logical TCPIP$SMTP_RECV_RUN_PRIORITY
"TCPIP$SMTP_RECV_RUN_PRIORITY" = "4" (LNM$SYSTEM_TABLE)
My off-hand guess is that if I started TCPIP
in a batch job, this thing inherited a lower
process priority than normal. But I may be
venting vapors there. You might get some
actual info from SHOW SYSTEM and/or SHOW
PROCESS while a session is active. (But I
clearly thought that there was some reason to
stick that in there, at some far-distant
time, for some long-forgotten reason.)
And I've been putting it back, too, every
time an upgrade/ECO (silently) overwrites my
customized procedure, which seems to be
pretty often. I can see seven versions of
SYS$COMMON:[SYSEXE]TCPIP$SMTP_RECV_RUN.COM_ORIG,
dating back to 22-MAY-1998. But I digress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 08:16 AM
тАО05-04-2010 08:16 AM
Re: Inbound SMTP
You may have hit on something here. In 5 consecutive tries to TELNET LOCALHOST/PORT=25 it actually took a minimum of 1 minute 50 seconds to display the 220 banner line and to accept commands. I guess I was getting impatient as far as the manual telnet connection goes.
However, this long delay is apparently too long as real incoming SMTP connections are timing out.
TCPIP services have been stopped / restarted interactively so I don't think priorities are an issue.
And I have checked for files with version limits > 32000 and have found none related to any TCPIP services.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 08:28 AM
тАО05-04-2010 08:28 AM
Re: Inbound SMTP
Setting the TCPIP$SMTP_RECV_TRACE logical didn't provide any insight as to why the delay:
$ run:
$ run SYS$SYSTEM:TCPIP$SMTP_RECEIVER.EXE
send buf=220 sisko.asub.edu V5.6-ECO5, OpenVMS V8.3 Alpha ready at Tue, 4 May 2├в
recv buf=HELO sisko.asub.edu\0d\0a
send buf=250 sisko.asub.edu Hello sisko, pleased to meet you\0d\0a
recv buf=MAIL FROM:
send buf=250
recv buf=RCPT TO:
send buf=250 <
recv buf=DATA\0d\0a
send buf=354 Start mail input; end with
recv buf=Received: from sisko (147.97.16.21)\0d\0a
recv buf=\09 by sisko.asub.edu (V5.6-ECO5, OpenVMS V8.3 Alpha);\0d\0a\09Tue, 4 ├в
send buf=250 OK\0d\0a
recv buf=QUIT\0d\0a
send buf=221 sisko.asub.edu Service closing transmission channel\0d\0a
$ !
$ ! completed smtp receiver execution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 08:37 AM
тАО05-04-2010 08:37 AM
Re: Inbound SMTP
That is slow. At least it's not dead.
Around here, the SMTP receiver process name
seems to be TCPIP$S_BGxxxxx, and "SHOW SYST
/PROC = TCPIP$S_BG*" seems to show something
whose "Pri" wanders between 4 and 5 (when
it's running).
("tcpip show devi /port = 25", look for "25"
under "Local", but not "*" under "Remote
Host", and then "show devi /full bgXXXXX",
and get the "Owner process".)
> [...] I don't think priorities are an
> issue.
I value evidence more highly than confidence.
MONITOR SYSTEM or MONITOR PROCESS /TOPCPU
might reveal a too-busy-to-care system.
I assume that your SMTP.CONFIG file is not
crazy-large. (My 16k lines there account for
most of the sloth around here.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-04-2010 08:39 AM
тАО05-04-2010 08:39 AM
Re: Inbound SMTP
On the bright side, that should give you
plenty of time to look around while it's
getting nowhere.