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