I'm having some trouble with configuration of email in the php.ini.
I'm using linux and php 5
After a little search some websites said that take off the comment sign from the line "sendmail_path" and specify the sendmail command line (usually /sbin/sendmail -f) or eg. /usr/lib/squirrelmail/
The problem is my website is in a server (10.20.5.10) and the email is at 10.25.5.11.
I tried to put
"sendmail_path = 10.20.5.11:/usr/lib/squirrelmail/"
in the php.ini (wich is in the 10.20.5.10)
but it didnt work, what should I do??? plz help
email from another server
Started by edson_hh, Nov 18 2010 05:53 AM
4 replies to this topic
#1
Posted 18 November 2010 - 05:53 AM
|
|
|
#2
Posted 18 November 2010 - 06:17 AM
PHP does not use wrappers for such configuration, it only accepts a process map to pass parameters into. I will question what your intentions are as you left a lot of holes in your question.
Why are you wishing to access another server's squirrelmail to be used with PHP? Why is 10.25.5.11 being used for a mail executable instead of 10.20.5.10?
Why are you wishing to access another server's squirrelmail to be used with PHP? Why is 10.25.5.11 being used for a mail executable instead of 10.20.5.10?
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
#3
Posted 18 November 2010 - 01:25 PM
Ususally, you set up mail sending software on both servers, but only let one of them handle incoming mail - it's totally different. If you want your outgoing mail server qualified in your DNS, just set it to a high priority level, and your normal server to a low priority.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#4
Posted 19 November 2010 - 02:47 AM
wtf, thank u :)
#5
Posted 19 November 2010 - 09:45 AM
why you want to qualify a outgoing mail server in the DNS is that as far as I know, some spam filters actually lookup the senders domain and check if the origin server is qualified mail server for that domain. If it's not qualified, it get points in the spam check. (you can be sending a e-mail from any address with any machine normally, so you check this to verify the servers authorize for the senders address)
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account

Back to top









