alpine based fetchmail container
2.0K
alpine linux with fetchmail and logrotate
docker run -it --name fetchmail -v /fetchmail_config:/data -e TIMECRON:300 timroemisch/docker-fetchmail:latest
TIMECRON: Time to Recheck mail, if nothing set it defaults to 300 seconds (which should accept the most mail servers)
create a local etc/fetchmailrc file and adjust it to your own needs
set no syslog
set logfile /data/log/fetchmail.log
set postmaster "fetchmail"
poll imap.gmail.com with proto IMAP
user '[email protected]' there with password 'yourpassword' is fetchmail here options ssl
smtphost mail.example.org
smtpname [email protected]
mount the folder, which contains the etc/fetchmailrc into the /data of the container
fetchmail:
restart: unless-stopped
image: timroemisch/docker-fetchmail:latest
hostname: fetchmail
volumes:
- ./fetchmail:/data:rw
environment:
- TIMECRON=300
The fetchmail container logs directly into the mountpoint log/fetchmail.log
https://github.com/soulsymphonies/docker-fetchmail
https://github.com/cguentherTUChemnitz/docker-fetchmail
Content type
Image
Digest
sha256:183ffa059…
Size
32 MB
Last updated
6 days ago
docker pull timroemisch/docker-fetchmail