Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 22nd November 2006, 06:31
linuxnewb999 linuxnewb999 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default php mail() doesnt work on suse

I'm sorry for posting another thread about php mail when there is a similar one but i am not sure about the forum policies.

I recently configured a windows and suse local systems for my intranet.

On the windows machine, i configured the php.ini SMTP to point to my mail server with the ip address of 10.10.10.68 and the php mail() scripts works perfect.

But the problem occurs for the suse machine. I don't have a clue as to how to configure the php.ini to point to my mail server.

What should i do on the suse machine to for this to work?
Reply With Quote
Sponsored Links
  #2  
Old 22nd November 2006, 10:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

The php comes correctly configured on SuSe, you dont have to change anything in the php.ini. SuSe uses the locally installed mail daemon (postfix or sendmail or exim) to send the mail out.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 22nd November 2006, 16:58
linuxnewb999 linuxnewb999 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So it would be the mail daemon i would have to configure? Postfix is the default used by suse and i believe it is installed. Also i would like all mail to go through our smtp server, what files do i have to edit to have it running?
Reply With Quote
  #4  
Old 23rd November 2006, 00:09
linuxnewb999 linuxnewb999 is offline
Junior Member
 
Join Date: Nov 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Just found out how to get it to work. At least for my situation. Hope this may help others that runs into the same problem.

What i did was went into the postfix main.cf file and find "relayhost" and pointed it to my mail server (10.10.10.68)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Slightly Confused (DNS & Server Help) JohnnyBGoode Installation/Configuration 26 14th August 2007 09:54
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58
Virtual Users And Domains With Postfix, Courier And MySQL (+ SMTP-AUTH, Quota, SpamAs ebbay Installation/Configuration 9 4th March 2006 11:47


All times are GMT +2. The time now is 06:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.