Skip to content
  1. Sep 06, 2022
  2. Aug 19, 2022
  3. Aug 17, 2022
  4. Aug 16, 2022
  5. Aug 15, 2022
  6. Aug 03, 2022
  7. Jul 29, 2022
  8. Jul 23, 2022
  9. Jun 16, 2022
    • Judah MW's avatar
      functions: Added support for leading dots to _idn_encode_decode() · 22635140
      Judah MW authored
      Amavisd supports wildcards by performing decreasingly specific SQL
      lookups:
          9 - lookup for user+foo@sub.example.com
          8 - lookup for user@sub.example.com
          7 - lookup for user+foo
          6 - lookup for user
          5 - lookup for @sub.example.com
          3 - lookup for @.sub.example.com
          2 - lookup for @.example.com
          1 - lookup for @.com
          0 - lookup for @.       (catchall)
          (https://www.ijs.si/software/amavisd/README.lookups.txt)
      
      However idn_to_* returns an empty string if the domain has a leading dot
      which means lookups 0-3 cannot be used.  This is fixed by removing the
      leading dot before encoding or decoding and adding it back just before
      returning the domain.
      22635140
  10. Jun 15, 2022
  11. Jun 12, 2022
  12. May 26, 2022
  13. May 21, 2022
  14. May 19, 2022
  15. May 18, 2022