diff options
-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 |