Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with mbsync #6

Closed
agenbite opened this issue Jan 5, 2022 · 2 comments
Closed

Problem with mbsync #6

agenbite opened this issue Jan 5, 2022 · 2 comments

Comments

@agenbite
Copy link
Contributor

agenbite commented Jan 5, 2022

I've set dodo.settings.sync_mail_command = 'mbsync my-mail-box' and I'm getting this error at regular intervals:

FileNotFoundError: [Errno 2] No such file or directory: 'mbsync my-mail-box'

However, I have a system service for fetching mail through IMAP IDLE and I don't need Dodo to take care of fetching mail. Thus, I've set sync_mail_command to '' and the error is now

PermissionError: [Errno 13] Permission denied: ''
@akissinger
Copy link
Owner

try dodo.settings.sync_mail_command = ['mbsync', 'my-mail-box'].

To disable automatic sync, set dodo.settings.sync_mail_interval = -1

@agenbite
Copy link
Contributor Author

agenbite commented Jan 5, 2022

Cool. Both work. :)

@agenbite agenbite closed this as completed Jan 5, 2022
akissinger added a commit that referenced this issue Jan 6, 2022
This seems to be less confusing and more flexible than lists of args (see #3 and #6).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants