Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
is there a command i can use to see if sendmail actually works? ikonboard and phpBB both say it doesn't work because it never sends out emails when set to use sendmail and i temperarily chmoded sendmail to 755 to test it but it didn't work so i chmoded it back.
is there a way to test it? i don't know any commands for it, all i want is to get it to work on my forum and for the flashy personal mailing system i'm creating which uses PHP to mail.
how the hell do i telnet into port 25? my Linux In A Nutshell book says telnet works as
telnet [options] [host[port]]
i tried a simple telnet localhost and it said connection refused so i can't really get into a specific port there...
i tried mailing myself and it doesn't work
man mail said this:
mail [-s subject] [-c cc-addr] [-b bb-addr] to address
so i tried this:
mail -s "hello self" shawnd@localhost
(then it goes to a blaknes) so i typed in:
hello myself (then pushed ctrl-D)
when it asked for a cc i pushed enter. i waited about a minute then went to the console and typed "mail" and it replied:
no mail for shawnd
i also tried the line you suggested
mail shawnd@localhost -s sendmailtest
as well as these:
mail my email address -s sendmailtest
mail -s sendmailtest my email address
-there is no documentation on the ax command
-the command YOU gave does not work
-i have several Linux books: Linux In A Nutshell, Running Linux, Understanding The Linux Kernel, LINUX
none of those books say anything about how to analyze why sendmail is completely f***ed
-sendmail's site does NOT have a forum
-sendmail's FAQ doesn't answer many questions
instead of just saying "read the manual" then throwing all questions aside why not try to actually make suggestions of what could be f***ed?
well for a start, it shoulod be "ps ax" NOT "ps | ax", i certainly get the impression that sendmail is just plain not running at all. look at your sendmail logs in /var/log/maillog for information about connections and such. you shouldn't be having firewall problems if you are just doing it on the local machine either...
if sendmail is not running (you could also check "service sendmail status" then try to start it with "service sendmail start" or "/etc/init.d/sendmail start"