Mail issue | Unix Linux Forums | Solaris

  Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Mail issue

Solaris


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 02-06-2013
Junaid Subhani Junaid Subhani is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 8 July 2014, 5:38 PM EDT
Posts: 99
Thanks: 13
Thanked 0 Times in 0 Posts
Question Mail issue

Hi guys ! I am using Oracle Ops Center and have configured it to send Emails using the server itself ( localhost port 25 ).

When I goto /var/spool/mqueue folder , there are a few mails residing there but are NOT being sent.
A sample of one file is :

root@ops # cat qfr16JEh2k022885
V8
T1360178203
K1360178233
N1
P124404
I0/27/25407
Mhost map: lookup (oracle.com): deferred
Fs
$_localhost [127.0.0.1]
$rESMTP
$sops
${daemon_flags}
${if_addr}127.0.0.1
S<ORACLE_OPCENTER_US@oracle.com>
MDeferred: Name server: mailhost: host name lookup failure
rRFC822; MY-EMAIL
RPFD:<MY-EMAIL>
H?P?Return-Path: <g>
H??Received: from ops (localhost [127.0.0.1])
by ops (8.14.4+Sun/8.14.4) with ESMTP id r16JEh2k022885
for <MY-EMAIL>; Thu, 7 Feb 2013 00:16:43 +0500 (PKT)
H?D?Date: Thu, 7 Feb 2013 00:14:43 +0500 (PKT)
H??From: ORACLE_OPCENTER_US@oracle.com
H??Message-ID: <723416729.1.1360178203752.JavaMail.root@ops>
H??Subject: CRITICAL incident 11584 created on SMF Service State
svc:/milestone/multi-user-server:default has switched to maintenance
H??MIME-Version: 1.0
H??Content-Type: text/html; charset=ISO646-US
H??Content-Transfer-Encoding: quoted-printable
.


ive replaced my actual Email ID with MY-EMAIL in the above text. Why cant I see a To: field ?

Also ive tried sending a test mail using mailx command and receive it !

What is the problem here ?
Sponsored Links
    #2  
Old 02-07-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 28 July 2014, 4:39 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,378
Thanks: 8
Thanked 535 Times in 514 Posts
Does /etc/resolv.conf point to a good DNS server? Man Page for resolv.conf (opensolaris Section 4) - The UNIX and Linux Forums
Sponsored Links
    #3  
Old 02-08-2013
GP81 GP81 is offline
Registered User
 
Join Date: Nov 2012
Last Activity: 13 January 2014, 7:20 AM EST
Location: Warsaw, Poland
Posts: 65
Thanks: 0
Thanked 14 Times in 13 Posts
Add mailhost with correct IP to your /etc/hosts
    #4  
Old 02-08-2013
Junaid Subhani Junaid Subhani is offline
Registered User
 
Join Date: Aug 2012
Last Activity: 8 July 2014, 5:38 PM EDT
Posts: 99
Thanks: 13
Thanked 0 Times in 0 Posts
DGPickett
Yes it does. As I said , if I send a test email from the server using mailx command , I do receive it !

---------- Post updated at 12:24 AM ---------- Previous update was at 12:19 AM ----------

GP81

my resolve.conf file has entries :
nameserver 172.16.2.28
nameserver 172.16.2.29

which happen to be my DNS servers.

Do I add the same IP to my /etc/hosts file?
Sponsored Links
    #5  
Old 02-08-2013
DGPickett DGPickett is offline Forum Advisor  
Registered User
 
Join Date: Oct 2010
Last Activity: 28 July 2014, 4:39 PM EDT
Location: Southern NJ, USA (Nord)
Posts: 4,378
Thanks: 8
Thanked 535 Times in 514 Posts
I think the concern is that the host you forward mail to is defined, and the hosts file is redundant but more reliable. The DNS/resolv.conf IP's are nameservers.

If you want more detail on what is failing, you can trace system calls when the server/app tries to deliver with truss/strace/tusc.

Last edited by DGPickett; 02-11-2013 at 10:10 AM..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Mail sending issue Sara_84 Shell Programming and Scripting 2 03-06-2012 01:19 AM
Server Mail Issue learner46 Solaris 1 11-08-2011 01:39 PM
issue in mail command thillai_selvan Shell Programming and Scripting 0 07-21-2011 11:06 PM
mail issue arumon Red Hat 2 07-16-2010 07:57 PM
Mail Issue Barb UNIX for Dummies Questions & Answers 1 12-08-2004 01:10 PM



All times are GMT -4. The time now is 08:56 PM.