diff options
author | Toby Vincent <tobyv13@gmail.com> | 2023-03-28 23:53:38 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2023-03-28 23:53:38 -0500 |
commit | 2c65d14bc06370434969c68e4998062bd4b9d249 (patch) | |
tree | cf26e47aa55d509d53b09e3ef4d7b0b9c7710dd8 /mbsync/.config | |
parent | 7205e2b5e2d26e37391e85304eee90f4a4b7c7da (diff) |
feat(mbsync): add goimapnotify in place of systemd timer
Diffstat (limited to 'mbsync/.config')
-rw-r--r-- | mbsync/.config/imapnotify/gmail.conf | 16 | ||||
-rw-r--r-- | mbsync/.config/systemd/user/mbsync.timer | 10 |
2 files changed, 16 insertions, 10 deletions
diff --git a/mbsync/.config/imapnotify/gmail.conf b/mbsync/.config/imapnotify/gmail.conf new file mode 100644 index 0000000..fc109ff --- /dev/null +++ b/mbsync/.config/imapnotify/gmail.conf @@ -0,0 +1,16 @@ +{ + "host": "imap.gmail.com", + "port": 993, + "tls": true, + "tlsOptions": { + "rejectUnauthorized": false + }, + "username": "tobyv13@gmail.com", + "password": "", + "passwordCmd": "pass gmail | head -n1", + "onNewMail": "mbsync -c $XDG_CONFIG_HOME/mbsync/mbsyncrc gmail", + "onNewMailPost": "", + "boxes": [ + "INBOX" + ] +} diff --git a/mbsync/.config/systemd/user/mbsync.timer b/mbsync/.config/systemd/user/mbsync.timer deleted file mode 100644 index 82ebb83..0000000 --- a/mbsync/.config/systemd/user/mbsync.timer +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Mailbox synchronization timer - -[Timer] -OnBootSec=2m -OnUnitActiveSec=5m -Unit=mbsync.service - -[Install] -WantedBy=timers.target |