The container provides script for running getmail for accounts defined in the mayaml.yml file.
1.6K
The container provides script for running getmail and fetching all emails from accounts defined in the mayaml.yml file (see: Mayaml project).
By default, all files go to the one /mnt/mailgrabber/INBOX maildir, but you can change that by providing additional procamil config.
docker run -it --rm --name mailgrabber \
-v /path/to/mayaml.yml:/mnt/mayaml.yml \
-v /path/to/maildir:/mnt/mailgrabber \
# -v /path/to/procamilrcfilters:/mnt/ext_procmailrc \
skopciewski/mailgrabber
If you want to execute other command than getmail, run docker container with escto as first param:
docker run -it --rm --name mailgrabber \
-v /path/to/mayaml.yml:/mnt/mayaml.yml \
-v /path/to_maildir:/mnt/mailgrabber \
skopciewski/mailgrabber escto bash
mayaml.yml file mounted to the $MAYAML_FILE (default: /mnt/mayaml.yml)$MAILGRABBER_MAILDIR (default: /mnt/mailgrabber)Additionally:
$PROCMAIL_FILTERS (default: /mnt/ext_procmailrc)$MAILGRABBER_MAILDIR by overwriting $DEFAULT_MAILDIR_MAILBOX (default: INBOX)$MAIL_USER_ID (default: 1000) and $MAIL_GROUP_ID (default: 1000)Content type
Image
Digest
Size
20.2 MB
Last updated
over 6 years ago
docker pull skopciewski/mailgrabber