Menu

phpws mail problem

2003-01-12
2003-01-12
  • Dennis Bowen

    Dennis Bowen - 2003-01-12

    another bug fix for windows box unforutnately php win build doesnot support this coomand getmxrr() if you using the phpwsmail hack you have to change this line in the cb_common lib  cb_validation.php file

    =====search

    //if ( getmxrr($host, $validate_email_temp) )                {
    return true;
            }
    ===End Search Change to(if on windows box)
    if ( gethostbyname("$your url") )                {
    return true;
            }
    OR
    if ( gethostbyaddr($REMOTE_ADDR))
        {
    return true;
            }
    This Line Checks To See if the server is valid so spamming will not occur if you do not change this line this mod wont work on the win box..

     
    • Michael Cannon

      Michael Cannon - 2003-01-12

      phpws_mail 2.0.2 and phpws_mail CVS have this MX validation as optional. No need for the above hack.

      http://phpwsmods.quickdots.net/article.php?sid=168

      Michael

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.