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