LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   mail command (https://www.linuxquestions.org/questions/slackware-14/mail-command-779149/)

netpumber 12-31-2009 05:16 PM

mail command
 
Hi!
i have a question

i want to use the mail command to send mails . I type

Code:

$mail -s Test address@gmail.com
Dear, geo

this is a test mail
.
EOT


But the mail doesn't send in address@gmail.com

Is there any configuration file that need to change ?

Thanks!

AND HAPPY NEW YEAR!

2010 bugs in microsofts software and
2010 * 1000 new linux users :p

DonnieP 12-31-2009 06:29 PM

http://www.slackbasics.org/html/sendmail.html

Woodsman 12-31-2009 06:32 PM

Do you have a mail transport agent (MTA) running? The mail utility requires an MTA. Sendmail is the default MTA on the stock Slackware. To run sendmail at boot-up, enable /etc/rc.d/rc.sendmail (chmod +x) and then run the service. You do not need to reboot to run sendmail.


All times are GMT -5. The time now is 09:39 AM.