Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I have an application that can use send email via Php function or Sendmail or SMTP: http://nl1.upanh.com/b5.s13.d5/ab50f...09341.mail.jpg
I also have an email account that authenticated.
Now, i want to use that account to send out email from my linux box.
Which one may i choose Sendmail or SMTP to install to send email?
My server is CentOS 5.7
But i did not own the server mail.
Any help me to how to configure??
Any feedback is appreciate.
If you use SMTP, you will need to provide the information needed. Does your exchange support SMTP authentication? Is it configured for SMTP authentication? If yes, then have you configured your application with proper needed SMTP settings? It will most probably need the hostname or IP address of SMTP server, user name and password for authentication. If authentication mechanism uses SSL or TLS, your application should also support this.
As for with sendmail, you will need path to sendmail server and user name and password if it is configured for authentication.
When you are using SMTP, it clearly says that your SMTP server does not support authentication. Hence, you do not need to supply user name and password in the credentials section. Just fill in the host name or the IP address of the SMTP server.
In the first case, sendmail, it says it needs recipient address. This could mean that your sendmail is either not configured properly and hence not accepting the address supplied by you or you actually forgot to tell sendmail whom do you want to send mail to.
Check your both settings and try to send the mail. And if you want to use sendmail method, you could use mail command to check if sendmail is working properly.
The best bet would be to use SMTP option and remove the credentials. If you want to use sendmail, I am not sure how would you do that. I guess you would have to configure sendmail to relay your mails through exchange. But that would be an extra step when you can directly use your exchange server as SMTP without any credentials.