mailx (how is it able to send email?!?)



I have mailx on my system, it was installed yesterday as part of the
package installation of aide.
sudo apt-get install aide
(mailx got installed as a dependency)

My question is I do not really understand how mailx is able to send me
email, and it does because I tested it:
echo "Hi" | mailx -s "A test email message" myemail@xxxxxxxxx

How does the above work? I mean, when I set up an email account with
evolution or kmail I needed to specify my mail server of my ISP, username,
password, etc. Is mailx acting as a mail server, and does an ISP simply
allow such email generated by mailx to flow through the net, etc. I guess
this might be so simple I am missing it (my brain is slow on some things,
this must be one of those concepts). So in theory if I wanted to, could I
use mailx for all my email, have friends send me email somehow and then
read that email with mailx?


.



Relevant Pages

  • Re: mailx (how is it able to send email?!?)
    ... package installation of aide. ... sudo apt-get install aide ... My question is I do not really understand how mailx is able to send me ... mailx tries to connect to the local SMTP, at least on Unix and Unix like OS's there are some kind of SMTP installed, they usually only listens to the localhost and can deliver mail to your local machine or send it to a remote SMTP, but won't accept mail from the outside. ...
    (alt.os.linux)
  • Re: Equivalent of mailx
    ... I checked with the firm's sys admins, ... me that mailx is not installed. ... RHEL installation we have. ...
    (comp.os.linux.misc)
  • Re: Equivalent of mailx
    ... me that mailx is not installed. ... RHEL installation we have. ... (this usually exists even if you have an other MTA then sendmail ... The header ends with the first empty line, ...
    (comp.os.linux.misc)
  • Re: Help needed for basic sendmail configuration for a home user
    ... I did the above, and while there are no error messages generated by mailx, the mail does not appear to get through. ... Yet I've sent test messages to myself before, so there is no blanket policy of my ISP not allowing one to send oneself a message. ... 'Experts Exchange' take questions posted on the web and try to find ...
    (comp.unix.solaris)