LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   simple sendmail help! (https://www.linuxquestions.org/questions/linux-newbie-8/simple-sendmail-help-110061/)

paperdiesel 10-29-2003 03:26 PM

simple sendmail help!
 
I'm new to all things sendmail. How do I get my rh9 linux box to be able to send emails using the sendmail or mail command? I don't need anything tricky, I just need to know how to get sendmail to send a message, that's it. I don't even care about receiving.

Do I need to somehow configure something to work with my ISP's smtp server? What do I do? This task seems simple enough, but I can't find a straight answer anywhere.

unSpawn 11-04-2003 04:40 PM

How do I get my rh9 linux box to be able to send emails using the sendmail or mail command?
In short "mail -s <subject> <address> <cc address>". If you don't use a mail user agent like Pine, Mutt, Elm or any of the X Windows mail clients, the "mail" command from the "mailx" package provides basic access to email functions. It's easy to use in scripts.


I don't even care about receiving.
Make sure you don't run sendmail: as root, run "chkconfig --list". If sendmail is installed, check it's listed as "off". If you don't need to run sendmail to receive mail , that is, your box is not a mail host, then deinstall sendmail.

paperdiesel 11-07-2003 03:01 PM

That's interesting. Why not use sendmail? And why go so far as to uninstall it? That box is behind a router and all ports in to it are closed, so it seems relatively secure.

And does "mail" have all the same functionality? Can I specify the to, from, subject, cc, and bcc fields?


All times are GMT -5. The time now is 11:22 PM.