FAQ.Passwords_on_Unix.txt 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #!/bin/cat
  2. $Id: FAQ.Passwords_on_Unix.txt,v 1.7 2020/12/04 11:46:54 gilles Exp gilles $
  3. This document is also available online at
  4. https://imapsync.lamiral.info/FAQ.d/
  5. https://imapsync.lamiral.info/FAQ.d/FAQ.Passwords_on_Unix.txt
  6. =======================================================================
  7. Imapsync issues with passwords on Unix.
  8. =======================================================================
  9. =======================================================================
  10. Q. On Unix, some passwords contain some weird *()$,";&~ characters.
  11. Login fails.
  12. R1. Enclose the password within single-quotes in the imapsync
  13. command line:
  14. imapsync ... --password1 'passw*()`"$,;&rd~'
  15. R2. Change the password to keep only f...ing normal characters.
  16. Make it long and random if strong security is your concern.
  17. R3. If R1 fails, with very old imapsync or old Mail::IMAPClient Perl module,
  18. try also using double-quotes within single-quotes. It will enclose
  19. the password within double-quotes in the imap LOGIN command:
  20. imapsync ... --password1 '"passw*()`$,;&rd~"'
  21. Old Mail::IMAPClient 3.37 is a bad horse having this issue solved
  22. by this double-quotes trick.
  23. fixed in 3.38 https://metacpan.org/changes/distribution/Mail-IMAPClient
  24. version 3.38: Tue Feb 9 02:48:21 UTC 2016
  25. - rt.cpan.org#110273: failure to quote password values
  26. (regression introduced in 3.36 via fix for rt.cpan.org#100601)
  27. =======================================================================
  28. =======================================================================