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