mutt unix command not successlly send an email

failed to send an email by unix command line

echo "hello" | mutt -s "test" abc@XXXX.com

it does not show any message, but in my email , cannot get the email.

any idea?

thanks
SayYou_SayMeAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AmolCommented:
chk if this can help,

http://www.fefe.de/muttfaq/faq.html
0
KlaasdezwartCommented:
from command line type

sendmail  user@domain.com
body text bla bla
.

note end with a singl . [dot] on a single line
0
svsCommented:
mutt is  a MUA (mail user agent) and normally doesn't send mail itself -- it uses an MTA for this task.

you should check whether any MTA is running on local machine and what, if any, error messages are present in its logs.

MTA is  short for "mail transfer agent" -- it may be sendmail, postfix, qmail or exim.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SayYou_SayMeAuthor Commented:
i login another machine , can send email!
maybe that machine is not availble to send email

0
pawwaCommented:
As svs said:

1. Check whether a mail service is running

# netstat -lnt | grep :25

2. Then check the mail log, because it could help you solve the problem

Mail logs reside in a file /var/log/maillog or /var/log/mail.log or /var/log/mail/maillog. So, from a terminal window to see last 25 lines of a mail log file, type for example:

# tail -20 /var/log/maillog
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.