Unable to send email to the outside world

Thread Tools Search this Thread
Operating Systems Solaris Unable to send email to the outside world
# 1  
Old 07-27-2009
Unable to send email to the outside world

Hi all,
Iam unable to send mail from my unix machine(solaris x86,version 5.10) to the outside world.

I can able to access the internet,but not able to send to any yahoo or company email id.

Before posting this,i have searched this forum many times,but could not get the results what i needed.Given below are the details for your reference.Kindly help me out.

Error Details:
When i put mail,mailx or send mail iam getting the below error message:

For example:

# /usr/lib/sendmail -v <yahoo mail id>

WARNING: local host name (Jaya) is not qualified; see cf/README: WHO AM I?
Jul 26 09:37:15 Jaya sendmail[1181]: [ID 702911 mail.alert] unable to qualify my own domain name (Jaya) -- using short name

Sendmail version & other Details:

# /usr/lib/sendmail -d0.1 -bt < /dev/null

Version 8.13.8+Sun
============ SYSTEM IDENTITY (after readcf) ============
(short domain name) $w = Jaya
(canonical domain name) $j = Jaya
(subdomain name) $m = <null>
(node name) $k = Jaya
WARNING: local host name (Jaya) is not qualified; see cf/README: WHO AM I?
ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>


I did not configure my machine as a DNS server but configured as DNS client.Is it necessary to configure a DNS server inorder to send email?or is it possible to make my machine itself as a mail server to send email?

# 2  
Old 07-28-2009
Did you tried this by setting a full canonical domain name (for eg: s01.test.com) in /etc/hosts and thru hostname command.

# 3  
Old 08-01-2009
Hi ,

I never tried this .I have set the /etc/hosts as hostname(Jaya) followed by the ip address.

# 4  
Old 08-01-2009
It's complaining that this is not a fully qualified name.

1. Did you add MX record to your DNS server ? you should.

2. Type this command:

# domainname

What's the output ?? you have set a fully qualified domain name

3. Type this also:

# cat /etc/resolv.conf

We need to see your DNS client configuration too.

4. type
# nslookup Jaya
# ping Jaya

tell us what's the result...
# 5  
Old 08-11-2009
1. Did you add MX record to your DNS server ? you should.

No i didn't.First of all ,i didn,t configure this as a DNS server,only as a DNS client.Also the /etc/mail/sendmail.cf is shown you for your reference.

# local info #

# my LDAP cluster
# need to set this before any LDAP lookups are done (including classes)

# file containing names of hosts for which we receive email

# my official domain name
# ... define this only if sendmail cannot automatically determine your domain

# host/domain names ending with a token in class P are canonical

# "Smart" relay host (may be null)

# operators that cannot be in local usernames (i.e., network indicators)
CO @ % !

# a class with just dot (for identifying canonical names)

# a class with just a left bracket (for identifying domain literals)


# Hosts for which relaying is permitted ($=R)
FR-o /etc/mail/relay-domains

2. Type this command:

# domainname

3. Type this also:

# cat /etc/resolv.conf
nameserver <ip address >

4. type

# nslookup Jaya
Server: < ip address >
Address: < ip address >
** server can't find Jaya: NXDOMAIN

# ping Jaya
Jaya is alive

# 6  
Old 08-12-2009
Just add the FQDN of Jaya in your hosts file to get rid of that error message.
I suspect that isn't the issue but let's start with the simple stuff first Smilie
Modify /etc/hosts, adding the entry 'jaya.<your.domain.name>' to the end of the line for jaya's address.

The sendmail error should then go away. If mail is still not working to outside-world addresses, get the error message from /var/adm/messages (just grep for 'sendmail') and post it back.

I'd recommend against using a capital letter at the start of that hostname too - most of the addressing is case insensitive but every now and then you get a tool that isn't and it causes problems.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Unable to send email using Java in Linux

Hi All, We recently moved to Red Hat Enterprise Linux Server release 6.6 from Solaris 10. The existing Java code to send emails in Solaris is public class card_cardMessenger{ /** * Send an e-mail message via the Runtime class * @see Runtime * @return boolean (success or failure of... (1 Reply)
Discussion started by: Meghan2525
1 Replies

2. Shell Programming and Scripting

Shell scripting unable to send the sql query data in table in body of email

I have written a shell script that calls below sql file. It is not sending the query data in table in the body of email. spool table_update.html; SELECT * FROM PROCESS_LOG_STATS where process = 'ActivateSubscription'; spool off; exit; Please use code tags next time for your code and data.... (9 Replies)
Discussion started by: Sharanakumar
9 Replies

3. UNIX for Advanced & Expert Users

Unable to send the email in formatted way

Legends, I have following entries in /tmp/a.txt file GAP Ric XEOJ181477500.W Flag2 5 Sym XEO1418J775-E msg SEQ_NO:159 db:5 diff 154 process msg GAP Ric XEOJ181400.W Flag2 19 Sym XE418J815-E msg SEQ_NO:101 db:5 diff 96 process msg GAP Ric XEOJ18140.W Flag2 18 Sym XEO18J855-E msg SEQ_NO:88... (21 Replies)
Discussion started by: sdosanjh
21 Replies

4. Linux

Unable to send email with sendmail from PHP 5.3 on CentOS VM

I have a longstanding issue on my CentOS 5.6 VM where I am unable to send email from my PHP application. This is the last bunch of lines from my /var/log/maillog file. Feb 14 10:29:16 dev53 sendmail: s1EATEEo004637: Authentication-Warning: www.craig.dev-crmpicco.lan: apache set sender to... (2 Replies)
Discussion started by: crmpicco
2 Replies

5. UNIX for Dummies Questions & Answers

new to ldap, send email to a ou or group, and see a list from email client

hi, i'm running openldap on ubuntu 10.04, creating new items with apache directory studio (windows version). i use the ldap just as an address book to our small office (email clients are windows live mail 2009, 2011, microsoft outlook 2007 and 2010). a. i cant see a list of the contacts,... (0 Replies)
Discussion started by: V4705
0 Replies

6. Shell Programming and Scripting

Script to send email after comparing the folder permissions to a certain permission & send email

Hello , I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them . I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies

7. 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

8. Shell Programming and Scripting

unable to send an email attachment

i know its pretty repeated query, but i need to post it in this new thread coz i need it urgently uuencode /var/tmp/chandra/emaillist.txt emaillist.txt | mail -s "message with encoded attachment" am unable to send the attachment emaillist.txt present in the path /var/tmp/chandra/ Is... (11 Replies)
Discussion started by: cmaroju
11 Replies

9. UNIX for Advanced & Expert Users

Unable to send eMail from a UNIX-Host ( using mailx ) to a Outlook-email-addres(Win)

Hi A) I am able to send eMail using mailx from a UNIX ( solaris 8 ) host to my Outlook-email-ID : FName.Surname@Citigroup.com ( This is NOT my actual -eMail-ID). But in Outlook the "From :" eMail address is displayed as " usr1@unix-host1.unregistered.email.citicorp.com " .i.e the words... (2 Replies)
Discussion started by: Vetrivela
2 Replies
Login or Register to Ask a Question