1
0
mirror of https://github.com/imapsync/imapsync.git synced 2024-11-17 00:02:29 +01:00
imapsync/FAQ.d/FAQ.Passwords_on_Unix.txt

41 lines
1.6 KiB
Plaintext
Raw Normal View History

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