LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2007, 03:02 AM   #1
faruque.ahmed
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
Unable to send mail using mail command


Hi,
I am tring to send mail using mail command.
But failed


Code:
[root@oper-db ~]# ps -ef|grep mail
root      2945     1  0 Feb01 ?        00:00:00 sendmail: accepting connections
smmsp     2990     1  0 Feb01 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root     12401 12120  0 23:47 pts/1    00:00:00 grep mail
[root@oper-db ~]# mail faruque.ahmed@mycompanydomain.com < install.log
[root@oper-db ~]# ps -ef|grep mail
root      2945     1  0 Feb01 ?        00:00:00 sendmail: accepting connections
smmsp     2990     1  0 Feb01 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root     12405     1  0 23:47 pts/1    00:00:00 send-mail -i faruque.ahmed@mycompanydomain.com
root     12407 12120  0 23:47 pts/1    00:00:00 grep mail
[root@oper-db ~]# ps -ef|grep mail
root      2945     1  0 Feb01 ?        00:00:00 sendmail: accepting connections
smmsp     2990     1  0 Feb01 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root     12405     1  0 23:47 pts/1    00:00:00 send-mail -i faruque.ahmed@mycompanydomain.com
root     12409 12120  0 23:48 pts/1    00:00:00 grep mail
[root@oper-db ~]# 
[root@oper-db ~]# ps -ef|grep mail
root      2945     1  0 Feb01 ?        00:00:00 sendmail: accepting connections
smmsp     2990     1  0 Feb01 ?        00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root     12421 12120  0 23:50 pts/1    00:00:00 grep mail
You have new mail in /var/spool/mail/root
[root@oper-db ~]#

My server is RHEL 4 AS on x86

There is no mail in my mailbox
Would you please help me to solve the problem?
Regards
Faruque
 
Old 02-03-2007, 10:29 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
At the very end you got a new mail message in root which was almost certainly an error about the command you tried to execute.

Just type "mail" as root and read the root mail you got to see what it is complaining about.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
with the linux proxi, backend pop3 mail client can not receive mail and send mail rubin823 Linux - Networking 0 12-21-2006 10:06 PM
Unable to send mail to some mail servers due smtp greetings malformed atotomex Linux - Networking 6 12-20-2005 04:38 PM
Cannot send mail with mail() command in PHP 4.3.4, Apache 2.0.48, Mandrake Linux 10 arcanum Linux - General 3 06-27-2004 06:06 PM
Unable to send Mail ! phil81 Linux - Networking 5 06-12-2004 10:37 AM
Evolution: unable to send e-mail azebuski Linux - Software 2 02-01-2004 08:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration