(no title)
0fflineuser | 1 year ago
Here is and example of a config file for a gmail address :
```
host: imap.gmail.com
port: 993
tls: true
tlsOptions:
rejectUnauthorized: false
username: {{ youremailaddresshere }}
password: ''
passwordCMD: pass mw/{{ youremailaddresshere }} | head -n1
onNewMail: mailsync {{ youremailaddresshere }} | while read OUTPUT; do notify-send "" "$OUTPUT"; done
onNewMailPost: ''
onDeletedMail: ''
onDeletedMailPost: ''
boxes:
- INBOX
```
svilen_dobrev|1 year ago
indent it with 2+ spaces
0fflineuser|1 year ago
e12e|1 year ago
> rejectUnauthorized: false
Means trust any cert?
0fflineuser|1 year ago
I took it from my config which I did a long time ago and I guess I didn't pay attention enough when doing it, my bad !