That's kind of like me asking you why my car won't start. Any ideas?
Seriously though, it could be a number of things. You should first verify that your php is working properly from the command line by creating a simple script.
<?php
mail("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine 3");
?>
--Brad Fears
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorted it now, the sender email address was set up so that Postfix thought it was being asked to relay from outside its allowed range, so it ignored it!!
Oh the fun of virtual servers behind firewalls ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am not getting any email notification when a node goes down. Why is this?
That's kind of like me asking you why my car won't start. Any ideas?
Seriously though, it could be a number of things. You should first verify that your php is working properly from the command line by creating a simple script.
<?php
mail("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine 3");
?>
--Brad Fears
Did you verify that your php configuration *could* send mail? See my other response (to "nobody") in this thread.
--Brad Fears
I have a similar problem. The test script works fine, but a test dummy node which is down produces no email.
Sorry, threading seems to have gone to pot. I was picking up on your suggestion.
<?php
mail("joecool@example.com";, "My Subject", "Line 1\nLine 2\nLine 3");
?>
Works fine when run as # php -q test-mail.php
(i.e.commandline) but I get no mail for real errors
Sorted it now, the sender email address was set up so that Postfix thought it was being asked to relay from outside its allowed range, so it ignored it!!
Oh the fun of virtual servers behind firewalls ;)