Menu

no email notice

Help
2004-03-01
2013-03-22
  • Nobody/Anonymous

    I am not getting any email notification when a node goes down. Why is this?

     
    • Brad Fears

      Brad Fears - 2004-03-01

      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

       
      • Brad Fears

        Brad Fears - 2005-04-14

        Did you verify that your php configuration *could* send mail?  See my other response (to "nobody") in this thread.

        --Brad Fears

         
    • Tim Nicholson

      Tim Nicholson - 2005-04-14

      I have a similar problem. The test script works fine, but a test dummy node which is down produces no email.

       
    • Tim Nicholson

      Tim Nicholson - 2005-04-14

      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

       
    • Tim Nicholson

      Tim Nicholson - 2005-04-14

      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 ;)

       

Log in to post a comment.

Auth0 Logo