Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-17111

Check MX doesn't work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 3.3.10
    • PHP 8.2.3

      With phpBB 3.3.10 and PHP Version 8.2.3 the MX record (security) check does not work.

      email_check_mx is enabled.

      If I try to register with the fake email test@aaaaaaa.ayeye, phpBB lets me register.

      Test file

      <?php
      $result = dns_get_record("aaaaaaa.ayeye");
      print_r($result);
      ?

       says:

      Array ( [0] => Array ( [host] => aaaaaaa.ayeye.server.net [class] => IN [ttl] => 3600 [type] => HINFO [cpu] => RFC8482 [os] => ) ) 

      So checking with PHP works fine. Something is wrong with phpBB.

      With dns_get_record php.net

       Array ( [0] => Array ( [host] => php.net [class] => IN [ttl] => 60 [type] => A [ip] => 185.85.0.29 ) [1] => Array ( [host] => php.net [class] => IN [ttl] => 283 [type] => AAAA [ipv6] => 2a02:cb40:200::1ad ) ) 
      

       

            Unassigned Unassigned
            AleSSaNDRo AleSSaNDRo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: