https://github.com/chimeracoder/docker-offlineimap-fastmail
A basic Docker container for running offlineimap with Fastmail
https://github.com/chimeracoder/docker-offlineimap-fastmail
Last synced: 8 months ago
JSON representation
A basic Docker container for running offlineimap with Fastmail
- Host: GitHub
- URL: https://github.com/chimeracoder/docker-offlineimap-fastmail
- Owner: ChimeraCoder
- License: mit
- Created: 2015-05-04T02:11:37.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T17:47:02.000Z (about 9 years ago)
- Last Synced: 2025-03-26T12:04:09.405Z (11 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
# Offlineimap-Fastmail
This is a docker container for running offlineimap with a Fastmail email address
#### Usage
````
$ docker run -e EMAIL=$EMAIL -e PASSWORD=$PASSWORD -v ~/mail:/home/offlineimap/mail/ offlineimap-fastmail
````
This assumes `~/mail` exists and is writable by the user with uid `1000`; any directory with correct permissions can be used.
#### systemd service
An example systemd unit file has also been included in the repository for convenience. If using the provided file, make sure to define the `EMAIL`, `PASSWORD`, and `USERNAME` environment variables in `/etc/sysconfig/offlineimap-fastmail`. (`USERNAME` refers to your username on the host machine)
````sh
EMAIL=username@example.com
PASSWORD=hunter2
USERNAME=myusername
````
You may also want to use the included systemd timer to schedule periodic polling.