This demo shows a cron-based sync of IMAP to a local Maildir in /mail
.
Start the container(s):
docker-compose up
isync
service is now running:
/mbsyncrc
config file is created/notify.sh
is created- A crontab is created that runs
/sync
and/notify.sh
daily at00:00
crond
is started
View /mbsyncrc
config:
docker-compose exec isync cat /mbsyncrc
Run a first-time sync (this will fail, because test@example.com
is not a real account):
docker-compose exec isync /sync
Now, wait out for 00:00
of tomorrow.
At 00:00
, the incremental sync would run very quickly. A notification of the cron status would be sent to Discord and Mattermost using pingme
.
List synced files:
docker-compose exec isync find /mail