mail() didn't work when I tested it with a small php script. Finally, the
two steps below made my MW work :-)
--------------------------------------------
1. Got a help from
http://forums.macosxhints.com/archive/index.php/t-14639.html
[root@xxx public_html]# chmod g+s /usr/sbin/sendmail.sendmail
[root@xxx public_html]# ls -l /usr/sbin/sendmail.sendmail
-r-xr-sr-x 1 root smmsp 774264 May 6 2005 /usr/sbin/sendmail.sendmail
2. In the server, /var/spool/clientmqueue was originally owned by root.
changed owner so that sendmail can have access to /var/spool/clientmqueue
[root@xxx public_html]# chown smmsp:smmsp /var/spool/clientmqueue/
[root@xxx public_html]# ls -al /var/spool/clientmqueue/
total 8
drwxrwx-w- 2 smmsp smmsp 4096 Aug 16 22:13 .
-------------------------------------------
I appreciate you all who gave me advices and comments,
Regards, Seungwon Yang
On 8/16/07, Platonides < Platonides(a)gmail.com> wrote:
Thomas Dalton wrote:
> Is there any way
> that I can check whether mail() in PHP works and correct it if it
doesn't
work?
Write a quick php script to send yourself an email? If the email
arrives, mail() is working, if it doesn't, it's not.
Also try it with an account outside your company (send mail not local)
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)lists.wikimedia.org
http://lists.wikimedia.org/mailman/listinfo/mediawiki-l