Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
2
votes
2
answers
790
views
does mbsync know i deleted folders?
Newly working with `neomutt` and `mbsync`. I did an initial grab of all my mail and folders which was fine. Then I started organizing my folders and mail. Some of the folders (or "mailboxes") within the account were cleaned up and DELETED. When I run `mbsync -a` it seems to want to find those delete...
Newly working with
neomutt
and mbsync
. I did an initial grab of all my mail and folders which was fine.
Then I started organizing my folders and mail. Some of the folders (or "mailboxes") within the account were cleaned up and DELETED.
When I run mbsync -a
it seems to want to find those deleted folders. The error message is as follows:
Error: channel example@gmail.com: far side box INBOX/subscribed cannot be opened.
The INBOX/subscribed
is a folder that no longer exists under INBOX
Yet, the mbsync
task is still trying to fetch it.
**Is there a config file somewhere that needs updating? What can I do to fix this error?**
Thank you for your help.
examplebear
(21 rep)
Dec 31, 2022, 07:42 PM
• Last activity: Jun 25, 2025, 04:54 PM
0
votes
0
answers
43
views
does mbsync know I deleted a file?
May I just delete a file/ mail in the mbsync folder? Or should I * configure (`mbsync --config …`, `mu init --maildir=…`), or * index the database (`mu index`) after removing a file? Put differently, what is the correct way of removing specific emails when working with mbsync? – Thanks!
May I just delete a file/ mail in the mbsync folder?
Or should I
* configure (
mbsync --config …
, mu init --maildir=…
), or
* index the database (mu index
)
after removing a file?
Put differently, what is the correct way of removing specific emails when working with mbsync? – Thanks!
Alois Pichler
(1 rep)
Feb 25, 2025, 01:21 PM
• Last activity: Feb 25, 2025, 08:35 PM
3
votes
1
answers
429
views
Display name and/or path of currently viewed email in mutt/neomutt
I'm using [`neomutt`](https://neomutt.org) (an updated fork of [`mutt`](http://www.mutt.org)) as my CLI MUA (read: mail reading software in the terminal) and have all my messages synced offline using [`isync`/`mbsync`](https://isync.sourceforge.io/) and stored in the `maildir`-format on my `Debian S...
I'm using [
neomutt
](https://neomutt.org) (an updated fork of [mutt
](http://www.mutt.org)) as my CLI MUA (read: mail reading software in the terminal) and have all my messages synced offline using [isync
/mbsync
](https://isync.sourceforge.io/) and stored in the maildir
-format on my Debian Stable
system.
Sometimes I want to reply to a message and attach another email (e.g. as a reference). This can be easily done when using the maildir
-storage format since all messages are separate files; I just need to attach the file in my local folder. The problem is that I have difficulties finding the email files.
Obviously I can search through all of my messages (e.g. by using [mu
](https://www.djcbsoftware.nl/code/mu/) , which is my mail indexer) and then attach it, but this is tedious. It would be a lot easier to just display the path and filename somewhere when I read an email, optimally in my pager within neomutt
.
But despite looking for a solution, I wasn't able to find that. Any ideas or workarounds?
n0542344
(416 rep)
Dec 28, 2020, 01:08 PM
• Last activity: Feb 25, 2025, 02:59 PM
0
votes
1
answers
1882
views
Mixing local and remote IMAP folders in Neo/Mutt and iSync?
I've currently got Neo/Mutt configured alongside iSync for a few different accounts. Everything syncs up and I've got the Mutt client configured roughly how I want it. However, I run into issues when using ` ` to move a message to an Archive folder. It's different depending on the type of account: *...
I've currently got Neo/Mutt configured alongside iSync for a few different accounts. Everything syncs up and I've got the Mutt client configured roughly how I want it. However, I run into issues when using `` to move a message to an Archive folder. It's different depending on the type of account:
* In my two Gmail accounts, if I read a message and then `
to my local "All Mail" folder, the message is moved as expected. Then, when I run
mbsync`, my All Mail folder in Mutt shows two copies of the same message, with one marked for deletion. They are also both marked as unread, even though I had read the message before moving it. My workaround has been to just delete messages from my inbox. On the following sync, the deleted messages appear in All Mail without duplicates (but still annoyingly marked as unread).
* In my ProtonMail account, I can read and then save a message to my Archive folder. On the next sync, I have a duplicate message in the Archive folder, one marked as unread and the other as read, and neither is marked for deletion. Unlike in the Gmail accounts, deleting a message from my inbox does not result in the message showing up in my Archive, so that half-measure doesn't work here.
So maybe it's two separate issues but they certainly seem related. I've read multiple blog posts and scoured many dotfiles. I've seen "solutions" to the duplicate message problem such as folder hooks which delete duplicates when you enter the folder. These are not real solutions, IMO.
So I'm wondering if it's possible to tell Mutt to save a message to a *remote* folder, and if this would give better results. At the same time, I haven't configured Mutt for IMAP and would prefer that Mutt does no IMAP syncing, leaving that job to mbsync
. I still want to use Mutt mainly to read mail that is stored locally, but I also want to teach it to move messages to remote IMAP folders.
Is this possible? Or is there a more obvious approach that I'm overlooking? In the meantime, I'm just manually marking archived messages as read, and deleting duplicates. If I could solve this problem, Mutt will be my favorite email reader by far.
Chris Vincent
(11 rep)
Aug 30, 2018, 06:38 PM
• Last activity: Feb 25, 2025, 02:59 PM
2
votes
0
answers
1705
views
Complete command line email retrieval for IMAP IDLE
I'm trying to retrieve my mail from command line, and they use mu4e to read them. However, it turns out to be a nightmare to find a program that can do the following stuff: - downloads the mail from an IMAP server into a maildir folder - uses SSL/TLS when the server provide it - can deal with IMAP I...
I'm trying to retrieve my mail from command line, and they use mu4e to read them. However, it turns out to be a nightmare to find a program that can do the following stuff:
- downloads the mail from an IMAP server into a maildir folder
- uses SSL/TLS when the server provide it
- can deal with IMAP IDLE in order to avoid dirty loop to get the messages, if possible efficiently
- provides a way to get the password from a GPG encrypted file for security reason (I don't want to need to trust the people that can get physical access to the computer)
- can deal with several accounts in parallel, if possible with just one execution to save ressources
Bonus:
- efficient (I would like to avoid to install a full IMAP server)
- reliable
- still maintained
- simple to configure
- packaged into regular linux distributions, as well as nix
I tried lots of solutions, but it seems that none of them can deal with these tasks...
- offlineimap : officially has beta for IDLE, but I was not able to configure it to use it (bug or maybe I just missed something important...), offlineimap just stop after one scan even with the idle options. Moreover, it seems to be quite slow and buggy according to the community
- mbsync : no IDLE
- mbsync + mswatch : need to have access on the server, so not possible
- mbsync + imapnotify : maybe the best solution so far... but imapnotify is not packaged in debian and nix
- imapsync : does not deal with mailbox format
- fetchmail : cannot deal with PGP encrypted password
Any solution?
tobiasBora
(4621 rep)
Mar 28, 2018, 06:32 PM
• Last activity: Feb 25, 2025, 02:58 PM
1
votes
1
answers
812
views
Mutt trash not working with imap folder
I'm trying to setup mbsync and mutt to work with imap mail (normal imap provided by web hosting company). In my muttrc for this account I have: set trash = "+Trash" But when I try to delete message in mutt I get this notification: Create /home/{user}/.mail/{email-folder}/trash? ([yes]/no) mbsync has...
I'm trying to setup mbsync and mutt to work with imap mail (normal imap provided by web hosting company). In my muttrc for this account I have:
set trash = "+Trash"
But when I try to delete message in mutt I get this notification:
Create /home/{user}/.mail/{email-folder}/trash? ([yes]/no)
mbsync has synced Trash folder from server. I have even setup mbox_type to Maildir. Why is this happening and how can I force mutt to use Trash folder?
GeekDaddy
(111 rep)
Nov 18, 2017, 03:08 PM
• Last activity: Feb 25, 2025, 02:58 PM
0
votes
1
answers
675
views
Is it possible to ignore "Inbox" folder when using IMAP (mbsync)?
I can't find a clear answer whether "Inbox" folder is necessary to sync when using IMAP protocol. I can't seem to uncheck it on gmail and mbsyncrc (mbsync's config file) seems to require an "Inbox" entry otherwise it creates one in default location. This is quite unfortunate, because when syncing gm...
I can't find a clear answer whether "Inbox" folder is necessary to sync when using IMAP protocol. I can't seem to uncheck it on gmail and mbsyncrc (mbsync's config file) seems to require an "Inbox" entry otherwise it creates one in default location.
This is quite unfortunate, because when syncing gmail Inbox contains both primary as well as "spam" categories (promotions and social), which you ideally would like to filter out (by using labels and syncing those instead).
Could anyone please confirm if "Inbox" is strictly necessary when using IMAP or if there are any workarounds to ignore it?
Daniel Krajnik
(371 rep)
Jun 5, 2023, 10:56 PM
• Last activity: Feb 25, 2025, 02:58 PM
1
votes
0
answers
472
views
Possible to make mbsync (isync) update multiple multiple IMAP folders at once?
When running `mbsync -a`, it goes over each folder, updating it. This gets slow if you have many folders (20+ for e.g.). Is there a way to update multiple folders at once?
When running
mbsync -a
, it goes over each folder, updating it.
This gets slow if you have many folders (20+ for e.g.).
Is there a way to update multiple folders at once?
ideasman42
(1461 rep)
Sep 23, 2019, 12:46 PM
• Last activity: Feb 25, 2025, 02:58 PM
0
votes
1
answers
381
views
SASL authentication fails when called from crontab
When I run mbsync from the command line it works fine. But if mbsync is run from the crontab, mbsync fails with this error "`Error: SASL(-1): generic failure:`". My guess is that mbsync's SASL authentication requires an environment variable that cron is not setting, but after much trying I have not...
When I run mbsync from the command line it works fine. But if mbsync is run from the crontab, mbsync fails with this error "
Error: SASL(-1): generic failure:
".
My guess is that mbsync's SASL authentication requires an environment variable that cron is not setting, but after much trying I have not been able to spot the problem.
Any ideas?
scaramouche
(181 rep)
Dec 14, 2014, 09:46 PM
• Last activity: Feb 25, 2025, 02:58 PM
1
votes
0
answers
668
views
mbsync not downloading new mails?
My `.mbsyncrc` file includes the lines MaxMessages 1000 ExpireUnread yes However, when attempting to download my gmails, it doesn't seem to sync the newest ones. For example, I've just done an `mbsync`, and my mutt inbox is missing about 30 emails which should have come in today. In fact there are n...
My
.mbsyncrc
file includes the lines
MaxMessages 1000
ExpireUnread yes
However, when attempting to download my gmails, it doesn't seem to sync the newest ones. For example, I've just done an mbsync
, and my mutt inbox is missing about 30 emails which should have come in today. In fact there are no emails in my mutt inbox dated today (July 11). I really don;t want my local slave files to grow larger and larger, and in fact keeping only the most recent 1000 emails is fine.
How can I sync only the 1000 most recent emails locally, while keeping the rest on the gmail server?
Alasdair
(281 rep)
Jul 11, 2016, 09:26 AM
• Last activity: Feb 25, 2025, 02:58 PM
6
votes
3
answers
10044
views
Configuring mbsync with AuthMech XOAUTH2
I can't seem to figure out how to get `mbsync` to work with OAuth for Gmail because I can't get `mbsync` to find the xoauth2 `sasl` plugin on Ubuntu. I'm fairly confident that everything about my `mbsync` config for OAuth is working correctly (e.g. manually testing the PassCmd successfully generates...
I can't seem to figure out how to get
mbsync
to work with OAuth for Gmail because I can't get mbsync
to find the xoauth2 sasl
plugin on Ubuntu.
I'm fairly confident that everything about my mbsync
config for OAuth is working correctly (e.g. manually testing the PassCmd successfully generates an access token)
edit: I have installed sasl-bin
via apt, and https://github.com/robn/sasl2-oauth from source.
---
**Questions**
- How can I manually "register" a sasl
plugin for mbsync
? (aka add it to the list of 'available' SASL mechanisms in the first log pasted below)
- Could this issue be due to another component in my "email stack"? Some threads I've read suggest recompiling mutt from source, but I don't understand why mutt would be causing auth problems.
---
Using mbsync
installed via nix-env
, I haven't been able to get past
C: 0/1 B: 0/0 M: +0/0 *0/0 #0/0 S: +0/0 *0/0 #0/0
IMAP error: selected SASL mechanism(s) not available;
selected: XOAUTH2
available: GS2-IAKERB GS2-KRB5 SCRAM-SHA-1 SCRAM-SHA-256 GSS-SPNEGO GSSAPI DIGEST-MD5 EXTERNAL OTP CRAM-MD5 PLAIN LOGIN ANONYMOUS
C: 1/1 B: 0/0 M: +0/0 *0/0 #0/0 S: +0/0 *0/0 #0/0
I've also tried reinstalling mbsync/isync
from apt, as well as building isync
from the source. Both of which result in the following error.
Notice: Master/Slave are deprecated; use Far/Near instead.
C: 0/1 B: 0/0 F: +0/0 *0/0 #0/0 N: +0/0 *0/0 #0/0
Error: SASL(-1): generic failure: Unable to find a callback: 32775
C: 1/1 B: 0/0 F: +0/0 *0/0 #0/0 N: +0/0 *0/0 #0/0
jackmac92
(63 rep)
Dec 22, 2020, 03:49 AM
• Last activity: Feb 25, 2025, 02:57 PM
2
votes
1
answers
2132
views
MBSync Maildir++ to IMAP with subfolder in INBOX
I am trying to use MBSync to sync a local Maildir++ folder (dovecot mail data) into a remote IMAP mailbox. While it works in general, subdirs of INBOX are ignored. Config looks like this: MaildirStore a-local Subfolders Maildir++ Inbox /var/kunden/mail/a/foo@bar.com IMAPAccount a Host *** User *** P...
I am trying to use MBSync to sync a local Maildir++ folder (dovecot mail data) into a remote IMAP mailbox. While it works in general, subdirs of INBOX are ignored.
Config looks like this:
MaildirStore a-local
Subfolders Maildir++
Inbox /var/kunden/mail/a/foo@bar.com
IMAPAccount a
Host ***
User ***
Pass ***
SSLType IMAPS
CertificateFile ~/mail/cert
IMAPStore a-remote
Account a
Channel a
Master :a-local:
Slave :a-remote:
Patterns *
SyncState ~/mail/a-imap-transfer
Ouput looks like this (why is INBOX ignored?!)
pattern '*' (effective '*'): Path, no INBOX Maildir warning: ignoring
INBOX in /var/kunden/mail/a/foo@bar.com/ Opening slave
store a-remote... Resolving ***... ok Connecting to
*** (***:993)... Connection is now encrypted Logging in... Authenticating with SASL mechanism PLAIN... pattern '*'
(effective '*'): Path, no INBOX Opening master box INBOX... Opening
slave box INBOX...
The folder structure in file system looks like this:
.Drafts
'.Entw&APw-rfe'
.Gesendet
.INBOX.abizeitung
.INBOX.Bachelorarbeit
.INBOX.bestellungen
.INBOX.dav
the last 4 of those are NOT synced.
Any hints?
Nitek
(121 rep)
Mar 29, 2020, 02:44 PM
• Last activity: Feb 25, 2025, 02:57 PM
1
votes
0
answers
313
views
make mbsync+IMAP behave like POP
My work insists on Outlook365 and I use it in the most minimal way possible. That is, I pull email to my local machine à la POP and manage it there. Because of recent migration to MFA I have had to change my setup to davmail+IMAP+mbsync. All (eventually!) is now working satisfactorily except I...
My work insists on Outlook365 and I use it in the most minimal way possible. That is, I pull email to my local machine à la POP and manage it there. Because of recent migration to MFA I have had to change my setup to davmail+IMAP+mbsync. All (eventually!) is now working satisfactorily except I would like my emails to be deleted on the Outlook365 server once successfully downloaded.
What options should I specify in my
~/.mbsyncrc
file to achieve auto-deletion? Currently I have these options set but they aren't working.
Channel work
Master :work-store:
Slave :local:
Patterns INBOX
Expunge Master
Sync Pull New Delete
SyncState *
Many thanks.
healyp
(111 rep)
Jul 20, 2020, 11:32 AM
• Last activity: Feb 25, 2025, 02:57 PM
0
votes
1
answers
88
views
Wifi dropouts - could mbsync be the cause?
An odd wifi problem here on Ubuntu 19.10 on a Dell XPS 15, with an Intel AC 9260 card. Normally it's rock-solid, and stays connected for days at a time. This includes multi-GB transfers up and down over http, ftp, smb,etc. However when I run mbsync (http://isync.sourceforge.net/mbsync.html) it frequ...
An odd wifi problem here on Ubuntu 19.10 on a Dell XPS 15, with an Intel AC 9260 card. Normally it's rock-solid, and stays connected for days at a time. This includes multi-GB transfers up and down over http, ftp, smb,etc.
However when I run mbsync (http://isync.sourceforge.net/mbsync.html) it frequently (several times a day) drops out. By 'drop out' here I mean, all transfers time out. The wifi appears connected to the base still, but I can only get further transfers happening by disconnecting and reconnecting.
There's nothing very instructive in the logs at the time:
Apr 16 14:21:08 bamboo mbsync: Socket error on imap.purelymail.com (18.204.123.63:993): timeout.
Apr 16 14:21:08 bamboo systemd: mbsync.service: Main process exited, code=exited, status=1/FAILURE
Apr 16 14:21:08 bamboo systemd: mbsync.service: Failed with result 'exit-code'.
Dmesg reveals the following but I'm not sure if it's simultaneous with the above:
wlp59s0: deauthenticating from 10:b1:f8:b4:57:be by local choice (Reason: 3=DEAUTH_LEAVING)
On the face of it I don't imagine mbsync can actually *cause* the problem (or can it?). It's running as a user service under systemd. I am 100% sure that mbsync at least *triggers* the issue (because it never occurs otherwise, no matter how much I stress the network).
Appreciate any pointers or avenues for investigation as I'm stumped.
OpenAIDealAccountDeleted
(131 rep)
Apr 16, 2020, 04:38 AM
• Last activity: Feb 25, 2025, 02:57 PM
5
votes
3
answers
3194
views
mbsync: Move subfolders to root
My mail provider (Fastmail) puts the folders I define in the webinterface inside the INBOX. Thus when I sync them using mbsync I obtain the following: INBOX - .Drafts - .Foobar But I would prefer having them one level above and parallel to the INBOX: INBOX Drafts Foobar How can I achieve this? I've...
My mail provider (Fastmail) puts the folders I define in the webinterface inside the INBOX.
Thus when I sync them using mbsync I obtain the following:
INBOX
- .Drafts
- .Foobar
But I would prefer having them one level above and parallel to the INBOX:
INBOX
Drafts
Foobar
How can I achieve this? I've tried the Flatten option but then I still have a
INBOX.
prefixed to every folder and I loose the hierarchy for subfolders:
INBOX
INBOX.Drafts
INBOX.Foobar
INBOX.Foobar.Foofoo
I could define a channel/renaming rule for every folder but there must be an easier way to do this.
mbbb
(51 rep)
Apr 2, 2014, 02:44 PM
• Last activity: Feb 25, 2025, 02:56 PM
5
votes
0
answers
2572
views
Sync gmail using mbsync (isync) on debian linux using XOAUTH2
I am trying to sync my mails from gmail to my local mail server using [mbsync][1]. But i keep getting an error `Error: SASL(-4): no mechanism available: No worthy mechs found` Here is my `.mbsyncrc` file: #IMAP server you wish to copy mails from. IMAPAccount original Host imap.gmail.com User usernam...
I am trying to sync my mails from gmail to my local mail server using mbsync . But i keep getting an error
Error: SASL(-4): no mechanism available: No worthy mechs found
Here is my .mbsyncrc
file:
#IMAP server you wish to copy mails from.
IMAPAccount original
Host imap.gmail.com
User username@gmail.com
AuthMechs XOAUTH2
Pass access_token_recieved_from_google
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt
# The IMAP server you wish to copy mails to.
IMAPAccount target
Host local.mail.server.host
User local_user
Pass somepass
AuthMechs LOGIN
UseIMAPS yes
CertificateFile /etc/ssl/certs/ca-certificates.crt
# Link IMAP server to remote used below. Note Account is set to 'original' now -- we'll be set it to 'target' later!
IMAPStore my-remote
Account original
# The local storage we'll be using. Note the trailing slash at the end of the Path!
MaildirStore my-local
Path ~/mail/
Inbox ~/mail/INBOX/
# This is where the magic happens. Note Sync is set to 'Pull' now -- we'll set it to 'Push' later!
Channel my-channel
Master :my-remote:
Slave :my-local:
Patterns *
Create Both
Sync Pull
SyncState *
system: Linux stretch 4.9.0-7-amd64 #1 SMP Debian 4.9.110-1 (2018-07-05) x86_64 GNU/Linux
mbsync --version isync 1.2.1
looks like mbsync isn't recognizing XOAUTH2
for keyword AuthMechs
. If i change the AuthMech type to LOGIN
, i get an invalid credentials
error. (makes sense, i put in an auth token in place of the password).
Any ideas?
SomeGuyFortune
(151 rep)
Sep 5, 2018, 03:45 AM
• Last activity: Feb 25, 2025, 02:56 PM
2
votes
0
answers
1288
views
mbsync/isync -> GUI mail client + mutt
I have been using mbsync+mutt for years successfully, managing a number of post boxes for accounts with different mailservers. Now there is reason for me (some business emails are so deep with html that not even lynx/w3c can display them near readable) and other people in my household (problems with...
I have been using mbsync+mutt for years successfully, managing a number of post boxes for accounts with different mailservers.
Now there is reason for me (some business emails are so deep with html that not even lynx/w3c can display them near readable) and other people in my household (problems with mail fetching speed in gui clients with lots of messages) to want to create the following setup:
1. sync mails via mbsync (or maybe offlineimap), sort them into a number of local maildir boxes (I have a working setup but may be willing to migrate)
2. read/write mails from those boxes with mutt (I have a working setup for that)
3. read/write mails from those boxes with some shiny gui-mailclient (-> just needs to be able to read maildir and support multiple senders on different servers)
- preferably thunderbird, though its maildir support seems to be fundamentally broken
- from my perspective: bonus points if the ui client is lightweight and QT :D
- if creating folders and moving messages into them from gui, then syncing that, is supported - brilliant!
I did some searching on the subject, though I could not find any suggestions that would lead to my goal.
Specifically searching for mail clients that would use a local maildir managed by another service would not turn anything up, although I'm pretty sure that won't be something unreachable.
EDIT: mbsync is configured to retrieve mails from all accounts into
~/.imapmail/
.
HellSchwarz
(23 rep)
Sep 24, 2020, 06:31 AM
• Last activity: Feb 25, 2025, 02:56 PM
0
votes
1
answers
542
views
Empty mbsync slave when syncing
I'm syncing my Gmail mailboxes locally with mbsync. Currently, the Gmail and local mailboxes reflect eachother 1:1, however I'd rather not store deleted mail locally. After I have marked messages for deletion locally, how can I empty my local `Trash` mailbox and propagate those deletions to Gmail wh...
I'm syncing my Gmail mailboxes locally with mbsync. Currently, the Gmail and local mailboxes reflect eachother 1:1, however I'd rather not store deleted mail locally.
After I have marked messages for deletion locally, how can I empty my local
Trash
mailbox and propagate those deletions to Gmail when I run my next sync?
Jezen Thomas
(101 rep)
Aug 28, 2015, 08:50 AM
• Last activity: Feb 25, 2025, 02:56 PM
4
votes
1
answers
7101
views
mbsync not fetching/pushing with [Gmail]/Folders
I've switched from offlineimap to mbsync, but I'm having a problem syncing certain directories from Gmail. Specifically, all of the [Gmail]/FolderName directories seem to be ignored by mbsync (when I run mbsync -l, it doesn't list any of these). I have a config like this **[edited to show full confi...
I've switched from offlineimap to mbsync, but I'm having a problem
syncing certain directories from Gmail. Specifically, all of the
[Gmail]/FolderName directories seem to be ignored by mbsync (when I run
mbsync -l, it doesn't list any of these).
I have a config like this **[edited to show full config]**:
Create Slave
# Account details necessary for logging into the remove server:
IMAPAccount GMAIL
Host imap.gmail.com
User user@gmail.com
Pass pass
UseIMAPS yes
# The certificate of the authority that verified the SSL
# certificate of your email provider:
CertificateFile /etc/ssl/certs/ca-certificates.crt
# The remote repository:
IMAPStore GMAIL-remote
Account GMAIL
# The local repository:
MaildirStore GMAIL-local
Path ~/Maildir/GMAIL/
Inbox ~/Maildir/GMAIL/INBOX
Trash ~/Maildir/GMAIL/[Gmail].Bin
# Channel connecting two repositories, describing the way the two
# are synchronized:
Channel GMAIL
Master :GMAIL-remote:
Slave :GMAIL-local:
Patterns "[Gmail]/Sent Mail" "[Gmail]/Drafts" "[Gmail]/Bin" "[Gmail]/Spam" INBOX ARCHIVED
Create Slave
Expunge Both
SyncState *
Which seems to conform to examples I've seen online.
Has something changed with mbsync or Gmail which causes mbsync to ignore [Gmail]/Folders?
emacsomancer
(509 rep)
Nov 8, 2013, 08:23 PM
• Last activity: Feb 25, 2025, 02:56 PM
1
votes
0
answers
183
views
Max age with mbsync
Does mbsync allow email downloads to be restricted to a certain time frame? I am using mbsync with mutt and would only like to keep local copies of emails from within the last year. Thanks!
Does mbsync allow email downloads to be restricted to a certain time frame?
I am using mbsync with mutt and would only like to keep local copies of emails from within the last year.
Thanks!
Nonnus
(205 rep)
Dec 22, 2017, 06:08 AM
• Last activity: Feb 25, 2025, 02:56 PM
Showing page 1 of 20 total questions