%PDF- %PDF-
Direktori : /proc/thread-self/root/usr/share/doc/imapsync/FAQ.d/ |
Current File : //proc/thread-self/root/usr/share/doc/imapsync/FAQ.d/FAQ.Yahoo.txt |
$Id: FAQ.Yahoo.txt,v 1.15 2022/05/05 14:17:22 gilles Exp gilles $ This document is also available online at https://imapsync.lamiral.info/FAQ.d/ https://imapsync.lamiral.info/FAQ.d/FAQ.Yahoo.txt ======================================================================= Imapsync tips for Yahoo. ======================================================================= Questions answered in this FAQ are: Q. Synchronizing from Yahoo to XXX Q. Synchronizing from XXX to Yahoo Now the questions again with their answers. ======================================================================= Q. Synchronizing from Yahoo to XXX R. Use --host1 imap.mail.yahoo.com Example: ./imapsync \ --host1 imap.mail.yahoo.com \ --user1 Billy@yahoo.com \ --password1 billysecreta \ --host2 XXX \ --user2 Billy@other.com \ --password2 billysecretb You also need to go to Yahoo, security and enable "Allow less secure apps to login", otherwise the login will not work. To enable less secure apps to login: * Login to the Yahoo mail account, * click on the account name or the avatar and select "Account Info", * click on "Account security", * turn off "Two steps verification" * turn on "Allow apps that use less secure authentication". Thanks to Eugen Mayer for this last point. Another solution: * Login to the Yahoo mail account, * click on the account name or the avatar and select "Account Info", * click on "Account security", * Turn on "Two-step verification" * Click on "Manage app passwords" and generate a specific password for imapsync, choose "Other app" at the bottom and type imapsync since it is not in the predefined apps. * Use this password with imapsync. ======================================================================= Q. Synchronizing from XXX to Yahoo R. Example: On Linux: ./imapsync \ --host1 XXX \ --user1 Billy@other.com \ --password1 billysecreta \ --host2 imap.mail.yahoo.com \ --user2 Billy@yahoo.com \ --password2 billysecretb \ --regexmess 's{(?<![\n])\z}{\r\n}gxms' On Windows: imapsync.exe \ --host1 XXX \ --user1 Billy@other.com \ --password1 billysecreta \ --host2 imap.mail.yahoo.com \ --user2 Billy@yahoo.com \ --password2 billysecretb \ --regexmess "s{(?<![\n])\z}{\r\n}gxms" You wonder why there is this ugly regex, what it does and where does it come from? It's there to get rid of the errors "BAD [CLIENTBUG] Additional arguments found after last expected argument" when copying some messages to Yahoo. It adds a final \r\n on a message if a final \r\n is missing. See https://github.com/imapsync/imapsync/issues/209 https://imapsync.lamiral.info/README ... --regexmess reg : Apply the whole regex to each message before transfer. Example: 's/\000/ /g' # to replace null by space. --regexmess reg : and this one, etc. ======================================================================= =======================================================================