How to configure mutt to send emails on Linux.?

Hello,

I am trying to use mutt in order to send emails. I have installed mutt using yum and pasted some details about it later in the post.
When I try to run:

echo test | mutt -s "Test Email" user@id.com 

It doesn't do anything. I dont receive any emails. I have the SMTP details for the mail server however i am not sure how can i configure mutt to utilize these details. After i searched I found about "muttrc" file however I can't see any such file on the server currently.
Could you please help me on how to setup mutt and how can I make it work for my emails?

[oracle@host-name ~]$ mutt -v
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Linux 3.8.13-118.10.2.el7uek.x86_64 (x86_64)
ncurses: ncurses 5.9.20130511 (compiled with 5.9)
libidn: 1.28 (compiled with 1.28)
hcache backend: tokyocabinet 1.4.48
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID -USE_DOTLOCK -DL_STANDALONE +USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP
-USE_SSL_OPENSSL +USE_SSL_GNUTLS +USE_SASL +USE_GSS +HAVE_GETADDRINFO
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP +CRYPT_BACKEND_CLASSIC_SMIME +CRYPT_BACKEND_GPGME
-EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_LIBIDN +HAVE_GETSID +USE_HCACHE
ISPELL="/usr/bin/hunspell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@mutt.org>.
To report a bug, please visit http://bugs.mutt.org/.

Thanks for you time and patience!
Vaibhav

Configure a relay host (your mail server probably external IP i presume) in sendmail configuration file (from your output), then mutt will work (or mailx or anything else) on the client side.

Take a look at this, should clear thing up a bit ..

MailConcept � Mutt