Hello to everyone.
I would like to download all the email I get to my gmail account on FreeBSD everytime I run the command "mbsync" ; yes,infact I have installed and I'm trying to configure isync for this task. I'm trying to configure it correctly following the websites below :
frostyx.cz
This is the final configuration that I've reached for the file "~/.mbsyncrc",that unfortunately does not work :
the error reported is: "No channel specified. Try 'mbsync -h'" ; someone is using isync and can share his mbsyncrc conf. file ? It seems very tricky to make it work. Thanks.
MB : According with the "frostyx.cz" tutorial,I have already created a password for the app (that I have called mbsync and I have turned on the "2-Step Verification".
I would like to download all the email I get to my gmail account on FreeBSD everytime I run the command "mbsync" ; yes,infact I have installed and I'm trying to configure isync for this task. I'm trying to configure it correctly following the websites below :

Synchronize your 2FA Gmail with mbsync
In comparison to graphical email applications, configuring the command-line clients can be a needlessly painful experience. Not because of the client configuration itself but rather finding out the proper IMAP settings for your account. Personally, I spent more hours on moving my mail into Emacs...
This is the final configuration that I've reached for the file "~/.mbsyncrc",that unfortunately does not work :
Code:
IMAPStore gmail-remote
Host imap.gmail.com
SSLType IMAPS
AuthMechs LOGIN
User marietto2008@gmail.com
PassCmd "ciao a tutti"
MaildirStore gmail-local
Path /mnt/zroot2/zroot2/Backup-Gmail/
Inbox /mnt/zroot2/zroot2/Backup-Gmail/inbox
Channel gmail-inbox
Far ":gmail-remote:Inbox"
Near ":gmail-local:inbox"
Create Both
Expunge Both
Patterns * !"[Gmail]/Inbox" !"[Gmail]/Important" !"[Gmail]/Drafts"
SyncState *
the error reported is: "No channel specified. Try 'mbsync -h'" ; someone is using isync and can share his mbsyncrc conf. file ? It seems very tricky to make it work. Thanks.
MB : According with the "frostyx.cz" tutorial,I have already created a password for the app (that I have called mbsync and I have turned on the "2-Step Verification".