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