Skip to content
  1. 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
  2. Mar 24, 2022
  3. Mar 11, 2022
  4. Mar 09, 2022
  5. Mar 02, 2022
  6. Feb 03, 2022
  7. Jan 18, 2022
  8. Jan 15, 2022
  9. Jan 13, 2022
  10. Dec 21, 2021
  11. Dec 13, 2021
  12. Dec 07, 2021
  13. Oct 21, 2021
  14. Oct 19, 2021
  15. Oct 13, 2021
  16. Sep 27, 2021
  17. Sep 21, 2021
  18. Sep 07, 2021
  19. Sep 02, 2021
  20. Aug 16, 2021
  21. Aug 13, 2021
  22. Jun 08, 2021
  23. Jun 03, 2021
  24. May 21, 2021
  25. Apr 09, 2021
  26. Mar 18, 2021
  27. Mar 09, 2021
  28. Mar 03, 2021
  29. Jan 28, 2021
  30. Jan 04, 2021