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