|
||||
|
Litle update to this..
after few hours of tracing and playing and changing php.ini i find out that if I run sample script from shell, everything works fine mail is sended, but if i run that script trough apache by calling it from web no mail....
__________________
Signed, Dzevad Hadzic |
|
|||
|
We had this problem for 2 weeks, where sendmail and smtp would not send mail from anything on the server, including perl/php scripts.
I\'m not sure what fixed the problem, but Burst finally did something to resolve it. Then suddenly tons of I guess backlogged emails sent out to people and we received a lot of old ones too (probably not all of them though). |
|
|||
|
Howz the permissions on the sendmail binary? (/usr/sbin/sendmail).....
SUID included any longer? You\'ll need that for the functionality you are talking about, it might have fallen apart briefly.
__________________
.............................. http://www.fastservers.net/ travis@fastservers.net .............................. |
|
||||
|
-rwsr-xr-x 1 root root 13967 Dec 22 17:15 /usr/sbin/sendmail*
sendmail binary is suid, in /usr/local/lib/php.ini is defined sendmail_path = /usr/sbin/sendmail -t -i So i\'m out of ideas what may be wrong with this.
__________________
Signed, Dzevad Hadzic |
|
||||
|
Solution:
Somehow i have file /usr/sbin/sendmail wich is NOT symlink on /usr/sbin/exim. Is some other binary wich call\'s /usr/sbin/exim. I remove it and create symlink to /usr/sbin/exim and everything works fine now.
__________________
Signed, Dzevad Hadzic |
![]() |
| Thread Tools | |
| Display Modes | |
|
|