davmail (https://github.com/mguessan/davmail) to interface to the exchange server
imapnotify (https://github.com/a-sk/node-imapnotify) to check for emails, installed by npm install -g imapnotify
afew (https://github.com/afewmail/afew) to move mails to folders. if the pip version doesn't install, use apt get
notes:
=davmail=
config file is ~/.davmail.properties
you may change the following settings
davmail.url=https\://owa.palet.<stuff>/owa/
davmail.proxyHost=
davmail.proxyPort=8080
davmail.server=true
the last option makes X unnecessary,but disables login with the new mode
imapnotify (https://github.com/a-sk/node-imapnotify) to check for emails, installed by npm install -g imapnotify
offlineimap (https://github.com/OfflineIMAP/offlineimap) to retrieve the mail
notmuch (https://notmuchmail.org/releases/) to filter emailsafew (https://github.com/afewmail/afew) to move mails to folders. if the pip version doesn't install, use apt get
notes:
=davmail=
config file is ~/.davmail.properties
you may change the following settings
davmail.url=https\://owa.palet.<stuff>/owa/
davmail.proxyHost=
davmail.proxyPort=8080
davmail.server=true
the last option makes X unnecessary,but disables login with the new mode
==davmail with new authentication==
sudo apt install openjfx (this allows the "built in browser window", if external browser is used it may nor work")
=imapnotify=
to run imapnotify:
imapnotify -c $HOME/imapnotifyconfig.json
where imapnotifyconfig.json is
{
"host": "localhost",
"port": "1143",
"tls": false,
"tlsOptions": { "rejectUnauthorized": false },
"username": "**",
"password": "**",
"onNotify": {"mail": "/usr/bin/offlineimap","update":"echo update","expunge":"echo expunge"},
"onNotifyPost": {"mail": "/home/fabio/.emacs.d/notify-mail.sh"},
"boxes":
[
"INBOX"
]
}
=offlineimap=
config in ~/.offlineimaprc
[general]
accounts = Work
[Account Work]
localrepository = Local
remoterepository = Remote
utf8foldernames = yes
presynchook = afew --move-mails
postsynchook = notmuch new; notmuch tag --input=/home/fabio/.notmuchtags
[Repository Local]
type = Maildir
localfolders = ~/Maildir
[Repository Remote]
type = IMAP
remotehost = localhost
remoteport = 1143
remoteuser = **
remotepass = **
ssl = no
=notmuch=
config in ~/.notmuch-config
[database]
path=/home/fabio/Maildir
[user]
name=**
primary_email=**
[new]
tags=unread;inbox
[maildir]
synchronize_flags=true
for CJK support add
XAPIAN_CJK_NGRAM=1
in /etc/environment
==afew==
config in ~/.config/afew/config
[MailMover]
folders = INBOX
#rules
INBOX = 'tag:Sent AND NOT tag:inbox':Sent
No comments:
Post a Comment