2.0 KiB
2.0 KiB
Входящие gmail
./imapsync \
--host1 imap.gmail.com \
--port1 993 \
--ssl1 \
--user1 uralavtostroymiass@gmail.com \
--password1 'impj rmyc ecwl cqeq' \
--host2 localhost \
--user2 sales@1-agent.ru \
--password2 'sinkhrotsiklOtron6107' \
--ssl2 \
--gmail1 \
--folder "INBOX" \
--syncinternaldates \
--useuid \
--maxage 120
Входящие mail
./imapsync \
--host1 imap.mail.ru \
--user1 uas-chel@mail.ru \
--password1 'ZCgyiYVlMRPYRDfaZj31' \
--ssl1 \
--host2 localhost \
--user2 info@uralav.ru \
--password2 'xp7h2vWGkM6Cny2' \
--ssl2 \
--exclude "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-" \
--exclude "&BCEEPwQwBDw-" \
--exclude "Infected Items" \
--exclude "&BB0ENQQ2BDUEOwQwBEIENQQ7BEwEPQQwBE8- &BD8EPgRHBEIEMA-" \
--exclude "&BCcENQRABD0EPgQyBDgEOgQ4-" \
--exclude "Archive" \
--exclude "&BBoEPgRABDcEOAQ9BDA-" \
--exclude "&BBoEPgRABDcEOAQ9BDA-" \
--syncinternaldates \
--useuid \
--search "ALL"
--dry
тест папок через ssl
openssl s_client -connect imap.mail.com:993 -crlf -quiet
a LOGIN trest_zhanna@mail.ru 0SLrC2Re6DbRxNgELzeI
b LIST "" "*"
c LOGOUT
Отправленные gmail
./imapsync \
--host1 imap.gmail.com \
--port1 993 \
--ssl1 \
--user1 uralavtostroymiass@gmail.com \
--password1 'impj rmyc ecwl cqeq' \
--host2 localhost \
--user2 sales@1-agent.ru \
--password2 'sinkhrotsiklOtron6107' \
--ssl2 \
--gmail1 \
--folder "[Gmail]/&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-" \
--regextrans2 "s/\[Gmail\]\/&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-/Sent/" \
--syncinternaldates \
--useuid
Отправленные mail
./imapsync \
--host1 imap.mail.ru \
--user1 uas-chel@mail.ru \
--password1 'ZCgyiYVlMRPYRDfaZj31' \
--ssl1 \
--host2 localhost \
--user2 info@uralav.ru \
--password2 'xp7h2vWGkM6Cny2' \
--ssl2 \
--folder "&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-" \
--regextrans2 "s/&BB4EQgQ,BEAEMAQyBDsENQQ9BD0ESwQ1-/Sent/" \
--syncinternaldates \
--useuid
uas-chel@mail.ru
ZCgyiYVlMRPYRDfaZj31
info@uralav.ru