-
-
Notifications
You must be signed in to change notification settings - Fork 377
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add goimapnotify for push notifications
- Loading branch information
1 parent
4d533e4
commit 058fc42
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,7 @@ Specifically, this wizard: | |
- `msmtp` - sends the email. | ||
- `pass` - safely encrypts passwords (required at install). | ||
- `ca-certificates` - required for SSL. Probably installed already. | ||
- `goimapnotify` - required for push notifications. [Check here for reference](https://wiki.archlinux.org/title/Isync#With_imapnotify). | ||
|
||
**Note**: There's a chance of errors if you use a slow-release distro like | ||
Ubuntu, Debian, or Mint. If you get errors in `neomutt`, install the most | ||
|
@@ -133,6 +134,12 @@ To give you an example of the interface, here's an idea: | |
- <kbd>ctrl-b</kbd> - open a menu to select a URL you want to open in your browser. | ||
- <kbd>p</kbd> - encrypt/sign your message (in compose view, before sending the email). | ||
|
||
## Enable push notifications per mail | ||
**Note**: Replace the `fulladdrs` with your actual email address. You have to do this for each new mail you want to setup instant notifications. | ||
```bash | ||
systemctl enable --user [email protected] | ||
``` | ||
|
||
## Additional functionality | ||
|
||
- `pam-gnupg` - Automatically logs you into your GPG key on login, so you will | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"host": "$imap", | ||
"port": $iport, | ||
"tls": true, | ||
"tlsOptions": { | ||
"rejectUnauthorized": false | ||
}, | ||
"username": "$login", | ||
"password": "", | ||
"passwordCmd": "pass $passprefix$fulladdr", | ||
"onNewMail": "mailsync", | ||
"onNewMailPost": "", | ||
"boxes": [ "INBOX" ] | ||
} | ||
|