View Single Post
  #3  
Old 26th August 2005, 16:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Quote:
Originally Posted by Roman
Hi,

Initially couldn't send out mail through my website (php), because sendmail smtp settings default to 127.0.0.1. Thought I fixed that and was confident that sendmail works fine. Now I can send emails out using Evolution, but still can't send out emails through my website.
In sendmail.mc I changed
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
to
DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl
and did m4 /etc/mail/sendmail.mc > /etc/sendmail.cf after that.
Do I need to recompile PHP to make it work? If yes, are there any special things I need to add to --with options to make this work.

Thanks,
Roman

Was sendmail installed when you compiled PHP? If not, PHP's mail() function doesn't work, and you have to re-compile PHP.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote