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.
What do you need this for? are writing a spam script.
I guess you should have your mail server configured rigth, or choose external mail server
You don't need anything except a good configuration.
I am not aware of what kind of system RedHad is using as default. I use exim. the only problem is the documentation is too big, but all is in one configuration file and yuo need time to experiment with it.
It's a very tricky system. I wish I had time to post you some advisory portions of the configuration that I use.
I have it configured as client and server but I think reading a manual and testing your own way first is the best teacher, any way if you dont make it write to me (post a reply)
first of all, i am not using to send out spam.
I just want to play with it for now, i will eventually set up as a webserver and I have written the cgi script so that people can submit form via my personal website, the form will be emailed (via mail command in my perl script) to my email address. So that's why I need to be able to do
in the command line and make it to work before i start any of the rest.
Can you give me a start point? Like, which demon i need to run and such ...?
uhh, you don't give too much informatioin on the OS you are running - which linux?
then the mail program has nothing to do with sending mail from i.e. perl script you'll have to check for exim (that's mostly used nowdays) or sendmail
# which sendmail
exim provides sendmail so
# man exim
will tell you a lot the rest you can find with google's help
there are pretty a lot of examples how to set it all up even formamil.pl scripts. I know and used at lest 3 of them
you'll have to confiugre exim properly - read my former posting
(reason: 553 5.1.8 <firstname.lastname@example.org>... Domain of sender address email@example.com does not exist)
when I try to use sendmail command, this is what it gives back to me via the internal mda. I comment out the line in the sendmail.cf where it stopped anything from outside to come in. After restart sendmail, it still won't work.
I am not familiar with sendmail, sorry. It is out of date as far as I know. If you install exim instead (and I am sure it's in the RedHat distro), than I could help you more.
The other thing to do is to read more about your mail program - sendmail in your case.
# man sendmail
I am sure it's a matter of configuration, so find more info and give it a try.