Home » Infrastructure » Unix » utl_smtp appears to be working but email not being sent - solaris (Oracle 11.2.0.3 Solaris 10)
utl_smtp appears to be working but email not being sent - solaris [message #568687] Mon, 15 October 2012 17:21 Go to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
G'day,

The Solaris guys bounced a couple of machines last Friday and now the utl_smtp email facility, on these machines only, is not having its messages delivered.

Anyone have an idea of which facility on Solaris they forget to restart?

David
Re: utl_smtp appears to be working but email not being sent - solaris [message #568689 is a reply to message #568687] Mon, 15 October 2012 17:29 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
G'day,

I ran the following command:
svcs -a | grep -i mail


and received:
online         Oct_15   svc:/network/smtp:sendmail


David
Re: utl_smtp appears to be working but email not being sent - solaris [message #568690 is a reply to message #568689] Mon, 15 October 2012 17:39 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
telnet <mail_server_host> 25

above should result in you getting SMTP prompt

netstat -a | grep 25

is mail_server actually listening on port #25?
Re: utl_smtp appears to be working but email not being sent - solaris [message #568692 is a reply to message #568690] Mon, 15 October 2012 17:55 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
@BS,

I tried the second one first and it produced no output:
bash-3.00# netstat -a | grep 25
bash-3.00#

I then tried the first one:
bash-3.00# telnet xxx.xxx.80.154 25
Trying xxx.xxx.80.154...
Connected to xxx.xxx.80.154.
Escape character is '^]'.
220 ldom-xxx-dev-tst.localdomain ESMTP Postfix
^]
telnet> quit
Connection to xxx.xxx.80.154 closed.
bash-3.00#

I tried the second one again:
bash-3.00# netstat -a | grep 25
acid-xxx.47257   taaa.yyy.zz.au.1984 49232      0 131768      0 TIME_WAIT
acid-xxx.47258   acid-xxx.1521    139060      0 139060      0 TIME_WAIT
bash-3.00#

David
Re: utl_smtp appears to be working but email not being sent - solaris [message #568694 is a reply to message #568692] Mon, 15 October 2012 19:02 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
@BS,

I did the "telnet <mail_server_host> 25" on two machines that work and two that do not. They all appeared to connect. They had different results for 'environ list'. A working and non-working machine were nearly identical. Each pair working or non-working are quite different. Weird.

David
Re: utl_smtp appears to be working but email not being sent - solaris [message #568695 is a reply to message #568694] Mon, 15 October 2012 21:44 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
@BS,

Thanks for the help. There is a problem on an intermediate machine and another group of people will have to look at it.

David
Previous Topic: How to make mailx command work
Next Topic: dbconsole failing to start
Goto Forum:
  


Current Time: Thu Mar 28 18:40:36 CDT 2024