Mail


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mail
# 8  
Old 09-15-2014
Try (while running as root):
Code:
chmod 755 /etc

and then see if the problem persists.

If the problem isn't resolved by that change; show us the output from the command:
Code:
ls -ld / /etc /etc/mail

This User Gave Thanks to Don Cragun For This Post:
# 9  
Old 09-15-2014
Actually I modified the /etc permission to 755 after that, I have found no errors.But I am going to check my mail id in browser.I don't get any mail in my mail id.I think the problem not resolves,Please take this Output as follows,

Code:
[root@edms032 ~]# ls -ld / /etc/ /etc/mail
  drwxr-xr-x  30 nobody nobody  4096 Sep 15 10:40 /
  drwxr-xr-x  89 root   root   12288 Sep 15 11:50 /etc/
  drwxr-xr-x   3 root   root    4096 Sep 13 15:43 /etc/mail

# 10  
Old 09-15-2014
nobody as the owner of /? Extraordinally unique...
# 11  
Old 09-15-2014
I am unable to send mail I have found some messages in maillog file.

Please resolve this problem and help me out.


Code:
[root@edms032 ~]# cat /var/log/maillog
  Sep 15 12:03:58 edms032 sendmail[8538]: My unqualified host name (edms032) unknown; sleeping for retry
  Sep 15 12:05:18 edms032 sendmail[8538]: unable to qualify my own domain name (edms032) -- using short name
  Sep 15 12:05:25 edms032 sendmail[8576]: My unqualified host name (edms032) unknown; sleeping for retry
  Sep 15 12:06:38 edms032 sendmail[8538]: s8F6ZIn9008538: from=root, size=87, class=0, nrcpts=1, msgid=<201409150635.s8F6ZIn9008538@edms032>, relay=root@localhost
  Sep 15 12:06:38 edms032 sendmail[8538]: s8F6ZIn9008538: to=upload.tirunelveli@licindia.com, delay=00:01:20, mailer=esmtp, pri=30087, dsn=4.4.3, stat=queued

# 12  
Old 09-15-2014
Have you ever before been able to send mail from that user/host?
# 13  
Old 09-15-2014
No,I am executing a (Automatic mail alert for )Network Monitoring shell script from root.This script is used to monitor the Client PCs network and check whether the Network connection is available for 16 Client PCs and If any one is failure and sends automatic triggering mail.I want to run this script from root.I can't able to send the mail .Please help me out.
# 14  
Old 09-15-2014
If mail queues are backed up because you had permission problems on / or /etc, it may take a while for the queues to flush. For your system's sanity, please change the owner of /:
Code:
chown root:root /

and then try flushing the queues with:
Code:
/usr/lib/sendmail -q

(Note that sendmail usually isn't on the default $PATH list; if it isn't in /usr/lib on your system, use man sendmail to find out where it is on your system.)

But, if you have never successfully sent mail to accounts on your target host, you may be missing a lot of configuration information that will be needed to successfully send mail to that host.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Client was not authenticated to send anonymous mail during MAIL FROM (in reply to MAIL FROM comm

I am having trouble getting mail to work on a red hat server. At first I was getting this message. Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies

2. Shell Programming and Scripting

How to send mail using PHP mail function On apache server.?

Hello, I am using centos-6.2 I have apache server,php5 on my system and I want to send mail using sendmail on my system. when I try to send mail from shell that time mail is succesfully sent to respective address() but when I try to send it through webbrowser I am not able to send it.... (1 Reply)
Discussion started by: Kiran ursal
1 Replies

3. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

4. UNIX for Dummies Questions & Answers

Minimal Mail Server Setup for Local Mail Transfer

I am trying to get stored mail out of an old mail client. I figured that the easiest way to do it is with IMAP by logging in with both clients. I can copy the mail to the server from the old mail client, and back down into the new mail client. Rather than using a real mail account on the... (2 Replies)
Discussion started by: nixie
2 Replies

5. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

6. UNIX for Dummies Questions & Answers

How to send html file in a mail not as an attachment but it should display in the mail in table for

Hi The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment . cat Employee.sql SET VERIFY OFF SET PAGESIZE 200 SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON - HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies

7. Solaris

how to forward mail in /var/mail/username to external mail

Dear All, Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do? thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies

8. UNIX for Dummies Questions & Answers

can not send mail from unix server to company/yahoo mail

hi, Gurus, I need some help with sending mail out from my UNIX server: It is running Solaris 2.6 and the sendmail version is 8.8. Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null Version 8.8.8+Sun Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET ... (5 Replies)
Discussion started by: b5fnpct
5 Replies

9. UNIX for Dummies Questions & Answers

mail problem (NOT Mail or Mail.app)

When I try to use the CLI mail, I get the following error. What's wrong? Welcome to Darwin! % mail root Subject: test test . EOT % /etc/mail/sendmail.cf: line 81: fileclass: cannot open /etc/mail/local-host-names: Group writable directory Do I just need to change the... (1 Reply)
Discussion started by: chenly
1 Replies
Login or Register to Ask a Question