Solaris 10 no email is sent from server


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 10 no email is sent from server
# 1  
Old 05-16-2016
Solaris 10 no email is sent from server

Hello,

I am facing an issue with two Solaris 10 hosts that do not send email anymore. No changes were performed on host recently and error points to a name server lookup one.

I did a test, and obtained the following:

Code:
# mailx -v -s "Test from host01f" User_One@ABC.com < /dev/null
# User_One@ABC.com... Connecting to [127.0.0.1] via relay...
220 host01f.nam.int.local ESMTP Sendmail 8.14.9+Sun/8.14.9; Mon, 16 May 2016 20:52:34 -0500 (CDT)
>>> EHLO host01f.nam.int.local
250-host01f.nam.int.local Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<user1@host01f.nam.int.local> SIZE=71
250 2.1.0 <user1@host01f.nam.int.local>... Sender ok
>>> RCPT To:<User_One@ABC.com>
>>> DATA
250 2.1.5 <User_One@ABC.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
050 <User_One@ABC.com>... Connecting to smtp.ins.ABC.com. via esmtp...
050 <User_One@ABC.com>... Connecting to mailhost.nam.int.local via esmtp...
050 <User_One@ABC.com>... Connecting to smtp2.ins.ABC.com. via esmtp...
050 <User_One@ABC.com>... Deferred: Name server: mailhost.nam.int.local: host name lookup failure <<<<<<<<< Failure
250 2.0.0 u4H1qY6N028772 Message accepted for delivery
User_One@ABC.com... Sent (u4H1qY6N028772 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 host01f.nam.int.local closing connection

#

Did nslookup to smtp & smtp2 and was ok, but for mailhost.nam.int.local there is no reply.

Log files also point to ns lookup error:

Code:
May 16 17:09:40 host01f sendmail[28782]: [ID 801593 mail.info] u4GM9e3L028782: from=<user1@host01f.nam.int.local>, size=374, class=0, nrcpts=1, 

msgid=<201605162209.u4GM9ewi028781@host01f.nam.int.local>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
May 16 17:09:41 host01f sendmail[28782]: [ID 801593 mail.info] u4GM9e3L028782: to=<User_One@ABC.com>, ctladdr=<user1@host01f.nam.int.local> (63184/426), 

delay=00:00:01, xdelay=00:00:00, mailer=esmtp, pri=30374, relay=mailhost.nam.int.local, dsn=4.0.0, stat=Deferred: Name server: mailhost.nam.int.local: host name lookup 

failure
May 16 17:09:41 host01f sendmail[28781]: [ID 801593 mail.info] u4GM9ewi028781: to=User_One@ABC.com, ctladdr=user1 (63184/426), delay=00:00:01, xdelay=00:00:01, 

mailer=relay, pri=30073, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (u4GM9e3L028782 Message accepted for delivery)
May 16 17:20:37 host01f sendmail[2833]: [ID 801593 mail.info] u4GM9e3L028782: to=<User_One@ABC.com>, ctladdr=<user1@host01f.nam.int.local> (63184/426), 

delay=00:10:57, xdelay=00:00:01, mailer=esmtp, pri=120374, relay=mailhost.nam.int.local, dsn=4.0.0, stat=Deferred: Name server: mailhost.nam.int.local: host name 

lookup failure
May 16 17:35:37 host01f sendmail[8249]: [ID 801593 mail.info] u4GM9e3L028782: to=<User_One@ABC.com>, ctladdr=<user1@host01f.nam.int.local> (63184/426), 

delay=00:25:57, xdelay=00:00:01, mailer=esmtp, pri=210374, relay=mailhost.nam.int.local, dsn=4.0.0, stat=Deferred: Name server: mailhost.nam.int.local: host name 

lookup failure
May 16 17:50:37 host01f sendmail[13638]: [ID 801593 mail.info] u4GM9e3L028782: to=<User_One@ABC.com>, ctladdr=<user1@host01f.nam.int.local> (63184/426), 

delay=00:40:57, xdelay=00:00:01, mailer=esmtp, pri=300374, relay=mailhost.nam.int.local, dsn=4.0.0, stat=Deferred: Name server: mailhost.nam.int.local: host name 

lookup failure
May 16 17:54:21 host01f sendmail[14784]: [ID 702911 mail.warning] gethostbyaddr(192.168.224.2) failed: 1

Information on sendmail:

Code:
# /usr/lib/sendmail -d0.4 < /dev/null
Version 8.14.9+Sun
 Compiled with: DNSMAP LDAPMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8
                MIME8TO7 NAMED_BIND NDBM NETINET NETINET6 NETUNIX NEWDB NIS
                NISPLUS PIPELINING SCANF STARTTLS TCPWRAPPERS USERDB
                USE_LDAP_INIT XDEBUG
Canonical name: host01f.nam.int.local
 UUCP nodename: host01f
        a.k.a.: [10.141.19.21]

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = host01f
  (canonical domain name) $j = host01f.nam.int.local
         (subdomain name) $m = nam.int.local
              (node name) $k = host01f
========================================================

Recipient names must be specified
#
# grep DS sendmail.cf
DS
# Return-Receipt-To: header implies DSN request
# DHParameters (only required if DSA/DH is used)
#
# grep Fallback sendmail.cf
#O FallbackMXhost=fall.back.host.net
O FallbackSmartHost=mailhost$?m.$m$.
#
# grep MTAHost submit.cf
D{MTAHost}[127.0.0.1]
R$* < @ $+ > $*         $#relay $@ ${MTAHost} $: $1 < @ $2 > $3
R$+ :: $+               $#relay $@ ${MTAHost} $: $1 :: $2
R$*                     $#relay $@ ${MTAHost} $: $1 < @ $j >
#
# grep DS submit.cf
DS
# Return-Receipt-To: header implies DSN request
# DHParameters (only required if DSA/DH is used)
#

Please your assistance to troubleshoot issue.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Email Server High Availability

Hello, We are planning to setup a Email server with High Availability for email services so that if SMTP/POP/IMAP goes down on one server, the services switch to second server. We are planning to use a Linux machines from a hosting provider and will do it using DNS with multiple MX records with... (0 Replies)
Discussion started by: sunnysthakur
0 Replies

2. UNIX for Dummies Questions & Answers

Email server solution

Hello, Can you please help with the decision of choosing the right solution for technical needs. The need: To have secured email communication. All the emails should be encrypted during the process of sending. All the emails should be encrypted on the email server itself. ... (0 Replies)
Discussion started by: AQwert
0 Replies

3. Shell Programming and Scripting

send email from unix server

HI Guys, I want send email from my script ..and i have tried below command still no luck. ( uuencode $Adm "Test.txt" ) | mailx -s "Test" P***.P****@at***.com mailx -s "test mail" P****.P***@at***.com < $Admin Any other option.... (2 Replies)
Discussion started by: asavaliya
2 Replies

4. UNIX and Linux Applications

SMTP Server - dump email

Background: I am replicating a set of servers into a "bubble" for testing. Those systems cannot be aware they are in a "bubble" so I must replicate all external services. I have successfully replicated most of those services except SMTP. I would like to configure an SMTP server that collects... (0 Replies)
Discussion started by: NFN_NLN
0 Replies

5. UNIX for Advanced & Expert Users

email server

Any ideas on who could possibly be good providers enough to give me an easy installation of email server for my house without any technical issues? (1 Reply)
Discussion started by: raghawa
1 Replies

6. Linux

Email from my server is going in to spam

When I send emails from my dedicated server, it is going into people's spam folder. Is there a website or command I can run that will test my domain/server to see if there is a problem? I beleive that I have the PTR record correct, so just trying to find exactly what the issue is. (2 Replies)
Discussion started by: redbrad0
2 Replies

7. Shell Programming and Scripting

Send email from sendmail on AIX using exchange server as SMTP server

i am new in AIX i am trying to write a script to take a backup for specific files on server to and check error log if backup success send email to administrator , script done except for sending mail , i try to configure sendmail on aix to use our exchange server to send emails but still get error... (0 Replies)
Discussion started by: ahmed_salah
0 Replies

8. Solaris

Send an email from Solaris using Linux email server

Hello everyone I have a problem and I need your help: I have a Solaris 10 and Solaris 8 UNIX Servers, and Linux Centos4 as email server. I need send an email from Solaris servers preferably using Centos4 email server. I have no mail service configured in my Solaris computers (1 Reply)
Discussion started by: aflores
1 Replies

9. UNIX for Advanced & Expert Users

sending email via mail server

hi everyone i am facing one problem. there is one unix server in our organisation which stores daily routine backup, and one mail server which is on windows 2k3, they are on one intranet. now i want that a mail should be generated and sent to the e-mail id of employees like nitin@hotmail.com... (1 Reply)
Discussion started by: parmeet
1 Replies
Login or Register to Ask a Question