LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   SendMail & PHP (https://www.linuxquestions.org/questions/ubuntu-63/sendmail-and-php-458915/)

wadesmart 06-27-2006 04:59 PM

SendMail & PHP
 
06272006 1655 GMT-6

I am needing to set up sendmail to send mail from my php scripts. I thought that was installed on unix systems by default but I noticed that it isnt installed on my ubuntu system. So, my question is, if I install sendmail, will this cause any problems with my desktop system, with me using my email clients to get email from my isp server.

Also, when installing sendmail, what all do I need, if any, packages other than sendmail-base?

wade

gilead 06-27-2006 05:49 PM

Sendmail won't cause any problems with your mail clients connecting to your ISP to send/receive mail. You may choose to use your sendmail instead of your ISP to send mail, but you don't need to.

Your ISP may block port 25 so that you can't send mail directly from your sendmail. If that is the case, you can configure sendmail to use your ISP as a smarthost. This requires setting the DS option in sendmail.cf, or if you use m4 to generate the file from sendmail.mc, it requires an entry in sendmail.mc like this - define(`SMART_HOST', `your.isp.mailserver.com')dnl.

I can't help with the required packages though...


All times are GMT -5. The time now is 03:23 PM.