update and clean

This commit is contained in:
Jeff Lance 2021-02-26 22:42:26 +01:00
parent e5129a0c19
commit 91d40febf2
2 changed files with 7 additions and 4 deletions

View File

@ -8,6 +8,8 @@
# Set some constants
MAILDIR=${HOME}/Mail
echo "[Begin astroid] $(basename $0) script"
function test_connection() {
# Check if we have a connection
@ -85,9 +87,9 @@ if [ test_connection ]; then
if [ test_maildir ]; then
# deal_with_spam
purge_trash
sync_mail
sync_db
refresh
# sync_mail
# sync_db
# refresh
else
echo "[ASTROID]: no maildir"
fi
@ -98,5 +100,6 @@ fi
# We stop polling
# astroid --stop-polling
echo "[End astroid] $(basename $0) script"
# vim:ft=sh

View File

@ -1,7 +1,7 @@
{
"host": "imap.ac-creteil.fr",
"port": 143,
"tls": true,
"tls": false,
"tlsOptions": {
"rejectUnauthorized": false
},